
Patrick B. answered 05/11/21
Math and computer tutor/teacher
age=0
while (int(age)<1):
age = input("please input age :>")
name = input(' your name :> ')
strList = []
if (int(age)>=6):
str1 = input(' input 1st word :>')
str2 = input(' input 2nd word :>')
str3 = input(' input 3rd word :>')
str4 = input(' input 4th word :>')
strList.append(str1)
strList.append(str2)
strList.append(str3)
strList.append(str4)
if int(age)>=13:
str5 = input(' input 5th word :>')
strList.append(str5)
if int(age)>=21:
str6 = input(' input 6th word :>')
strList.append(str6)
print(name)
print(str(age))
N = len(strList)
for i in range(N):
print(strList[i])