Answers for "age="0" while age==0: age_str=input("what is your age") try: age=int(age_str) except: print("Error..age must be number") print("Your age is "+age_str)"

0

age="0" while age==0: age_str=input("what is your age") try: age=int(age_str) except: print("Error..age must be number") print("Your age is "+age_str)

age="0"


while age==0:
    age_str=input("what is your age")
    try:
        age=int(age_str)
    except:
      print("Error..age must be number")

print("Your age is "+age_str)
Posted by: Guest on August-08-2021

Code answers related to "age="0" while age==0: age_str=input("what is your age") try: age=int(age_str) except: print("Error..age must be number") print("Your age is "+age_str)"

Browse Popular Code Answers by Language