TDT4109/Exercise 8 - Inspera/6.py

8 lines
184 B
Python

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()])
print(acronym())