Advertisement
imariia777

Untitled

Jul 8th, 2023 (edited)
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. #1
  2. x = input()
  3. y = input()
  4. z = input()
  5. print(x + ' ' + y + ' ' + z)
  6. answer: Программирование после школы
  7.  
  8. #2
  9. a = int(input())
  10. b = int(input())
  11. z = 2 ** 8 * a ** 8 - 2 ** 4 * a ** 4 + 2 ** 2 * a ** 2 - 2 * b + 0.5 * (b ** (0.5)) + 0.5* (a * b ** (b + a))
  12. print (z)
  13. answer: 31381124888.5
  14.  
  15. #3
  16. answer: 23!
  17. a = input()
  18. b = input()
  19. print (a + b, end = '!')
  20.  
  21. #4
  22. a = int(input())
  23. b = int(input())
  24. c = int(input())
  25. print('(', end = '')
  26. print(a, b, sep = ' + ', end = ' - ')
  27. print(c, ') % 10', sep = '', end = ' = ')
  28. print((a + b - c) % 10)
  29. answer: (123 + 456 - 789) % 10 = 0
  30.  
  31. #5
  32. x = int(input())
  33. print(x - 1, x + 1, sep = '')
  34. answer: 2325
  35.  
  36. #6
  37. x = int(input())
  38. y = x // 100000
  39. print(y)
  40. answer: 1234
  41.  
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement