Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.74 KB | None | 0 0
  1. print('''                          Type your name                
  2. ''')
  3. name = input("[Name]:")
  4. if len(name) >= 20:
  5.   print("Your name is tooo long. It must be less than 20 characters :(")
  6. elif len(name) <= 2:
  7.   print("Your name is too short. It must me at least 3 characters long. :(")
  8. else:
  9.   print("Your name is ok :)")
  10. print('''                         Type your surname
  11. ''')
  12. surname = input("[Surame]:")
  13. if len(surname) >= 20:
  14.   print("Your surname is tooo long. It must be less than 20 characters :(")
  15. if len(surname) <= 2:
  16.   print("Your surname is too short. It must me at least 3 characters long. :(")
  17. else:
  18.   print("Your surname is ok :)")
  19. print('''                          Type your age                
  20. ''')
  21. age = input("[Age:]")
  22. age = int(age)
  23.  
  24. if age <= 4:
  25.   print("Are you a fucking baby? ")
  26. elif age <= 23:
  27.   print("Nice, you are young.")
  28. elif age >= 24 and age <60:
  29.   print("You are fucking old!")
  30. else:
  31.   print("You are about to die, my friend:)")
  32. print(f"So, you are {age} years old and your full name is {str(name)} {str(surname)}. Let's see кто ты по жизни.")
  33. print('''                 Type your monthly salary in dollars                
  34. ''')
  35. msalary = input("[Monthy Salary:]")
  36. msalary = int(msalary)
  37. ysalary = round(msalary * 12)
  38. if ysalary <= 1000:
  39.   print(f'So, you earn approximately {ysalary} bux a year. I think beggars earn more than you xD.')
  40. elif ysalary > 1000 and ysalary <= 20000:
  41.   print(f'So, you earn approximately {ysalary} bux a year. Pretty average.')
  42. elif ysalary > 20000 and ysalary <= 1000000:
  43.   print(f'So, you earn approximately {ysalary} bux a year.Quite impressive! Are you a gangsta?.')
  44. else:
  45.   print(f'So, you earn approximately {ysalary} bux a year.')
  46.  
  47. print('''                          Do you have your own house?                
  48. ''')
  49. answer1 = input(f'[Type "yes" or "no":]')
  50. if len(answer1) == 2:
  51.   print("Shit, that's bad. Ok let's go ahead.")
  52. else:
  53.   print("Cool, didn't expect that.")
  54. print('''                          Do you have your own car?                
  55. ''')
  56. answer2 = input(f'[Type "yes" or "no":]')
  57. if len(answer2) == 2:
  58.   print("Shit, oh well. Ok let's go ahead.")
  59. else:
  60.   print("Cool, quite surprising.")
  61. print('''                          Do you have your own computer?                
  62. ''')
  63. answer3 = input(f'[Type "yes" or "no":]')
  64. if age >= 19 and age <= 60 and len(answer3) == 3:
  65.   print (f"Cool, but not surprising for a {age}-year old person.")
  66. elif age >= 19 and age <= 60 and len(answer3) == 2:
  67.   print (f"Lol you are {age} years old and you don't have a PC? Go fuck yourself.")
  68. elif age < 18 and len(answer3) == 2:
  69.   print(f'Not cool, but for a person of your age it is normal:)')
  70. else:
  71.   print("Lol, you are probably too old for computers anyway.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement