TDT4109/Exercise 8 - Inspera/6.py

8 lines
184 B
Python
Raw Normal View History

2020-10-27 21:01:01 +01:00
def input_strings():
return [input('Skriv inn en streng: ') for _ in range(4) ]
def acronym():
return "".join([string[0].upper() for string in input_strings()])
2020-10-27 23:07:19 +01:00
print(acronym())