Advertisement
KodingKid

Python name age location quiz

Jul 31st, 2021
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.02 KB | None | 0 0
  1. import time
  2. print("Hello there!")
  3. time.sleep(1)
  4. print("Loading-")
  5. time.sleep(1)
  6. print("...")
  7. time.sleep(1)
  8. print("Done!")
  9. time.sleep(1)
  10. print("What is your name?")
  11. name == input()
  12. print("Hello " +name)
  13. time.sleep(1)
  14. print("Processing-")
  15. time.sleep(1)
  16. print("...")
  17. time.sleep(1)
  18. print("Done!")
  19. time.sleep(1)
  20. print("How old are you?")
  21. age == int(input())
  22. if age == int:
  23.     print("You are" +age)
  24. else:
  25.     print("Enter a number please.")
  26.     age2 == int(input())
  27.     if age2 == int:
  28.         print("You are" +age2)
  29.     else:
  30.         print("No")
  31. time.sleep(1)
  32. print("Processing-")
  33. time.sleep(1)
  34. print("...")
  35. time.sleep(1)
  36. print("Done!")
  37. time.sleep(1)
  38. print("What country are you from?")
  39. country == input()
  40. print("You are from" +country)
  41. time.sleep(2)
  42. print("Processing-")
  43. time.sleep(2)
  44. print("...")
  45. time.sleep(2)
  46. print("Done!")
  47. time.sleep(2)
  48. print("So your name is" +name)
  49. time.sleep(2)
  50. print("You are" +age)
  51. time.sleep(2)
  52. print("And you're from" +age or +age2)
  53. time.sleep(5)
  54. print("ok cool bye!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement