Ch 21 or the coco movie age limit
input_name=input("enter your name")
input_age=input("enter your age")
input_age=int(input_age)
if input_age >= 10 and (input_name[0] =='a' or input_name[0]=='A'):
print("you watch")
else:
print("you can not")
I mistaken many time in the indexing the name [0] 'a' beware to the indexing the name you can indexing the name and anything by ch(13 ) len function !!
Comments
Post a Comment