fork download
  1. name=input ('whats your name: ')
  2. print (name)
  3. age=input ('what is your age: ')
  4. print (age)
  5. grade=input ('whats your grade: ')
  6. print (grade)
  7. birthday=input ('please type your bithday: ')
  8. print (birthday)
  9.  
  10. print("My name is: "+ name+" and I am: "+age+" years old. And I am in the: "+grade+" grade")
  11. print("also, my birthday is: "+birthday+"!")
  12. print("Hello, "+name+"!")
  13. print ("2026-2014")
  14.  
  15.  
  16. bob_age = int(input("what is bobs age: "))
  17. if bob_age < 13:
  18. print("too young!")
  19. elif bob_age> 18:
  20. print('too old!')
  21. else:
  22. print("bob can join!")
Success #stdin #stdout 0.02s 9288KB
stdin
sky 
11
5th
12/10/2014
15
stdout
whats your name: sky 
what is your age: 11
whats your grade: 5th
please type your bithday: 12/10/2014
My name is: sky  and I am: 11 years old. And I am in the: 5th grade
also, my birthday is: 12/10/2014!
Hello, sky !
2026-2014
what is bobs age: bob can join!