Odpowiedź :
Witaj :)
Kod:
lista = []
while True:
x = input()
if x: # Sprawdzamy czy podana wartość nie jest enterem
lista.append(x.upper())
else:
break
for x in lista:
print(x)
Witaj :)
Kod:
lista = []
while True:
x = input()
if x: # Sprawdzamy czy podana wartość nie jest enterem
lista.append(x.upper())
else:
break
for x in lista:
print(x)