14 lines
267 B
Python
14 lines
267 B
Python
length = 0
|
|
str = []
|
|
while length < 5:
|
|
str.append(input("Input string here: "))
|
|
length += 1
|
|
if length == 5:
|
|
for x in str:
|
|
print (x)
|
|
|
|
list = []
|
|
for i in range(5):
|
|
list.append(input("Input string here: "))
|
|
for x in list:
|
|
print(x) |