fork download
  1.  
  2. name=input("Enter Your Name:")
  3.  
  4. try:
  5. age=int(input("Enter Your Age:"))
  6. except ValueError:
  7. print("Hey!That wasn't a number")
  8. else:
  9. print("Please Enter Age In Numbers")
  10.  
  11. finally:
  12. print("Thank You")
  13.  
  14.  
  15. # your code goes here
Runtime error #stdin #stdout #stderr 0.04s 9296KB
stdin
Standard input is empty
stdout
Enter Your Name:
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
EOFError: EOF when reading a line