Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. x = int(input())
  2. # y = x * x * (x + 2.5) - x + 1
  3. y = 1 - x
  4. x2 = x * x
  5. t = x + 2.5
  6. t = x2 * t
  7. y += t
  8. print(y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement