Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.71 KB | None | 0 0
  1. # int:    scores = 0
  2. # string: name = "stepa"
  3. # bool: flag = True/False
  4. #
  5.  
  6.  
  7.  
  8.  
  9.  
  10. print("Введите имя")
  11. name = input()
  12. print("збс, понял")
  13. print("Введите возраст")
  14. age = int(input())
  15. print("Твой возраст + 3", age + 3)
  16. print("введите 2 числа")
  17. a = int(input())
  18. b = int(input())
  19. print("ваш ответ", a * b)
  20. print("введите год вашего рождения")
  21. date = int(input())
  22. Putin_date = 2000
  23. if date < Putin_date:
  24.     print("круто")
  25. else:
  26.     print("очень жаль")
  27. family = [2003, 1980, 2017, 1467, 345, 3, 45, 4, 5, 6 , 56, 56, 563, 45]
  28. age_vlad = family[0]
  29. for i in range(0, len(family)):
  30.     print(family[i])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement