fork download
  1. # your code goes here
  2. #0JLQsNGB0LjQu9C10L3QutC+INCQ0YDRgtC10Lwg
  3. #просте завдання 1.2
  4. def Prog(x):
  5. x = int(x)
  6. y = 2*x**2 - 5*x +2
  7. print(y)
  8.  
  9. Prog(-8)
  10. Prog(-4)
  11. Prog(-2)
  12. Prog(-1)
  13. Prog(0)
  14. Prog(1)
  15. Prog(2)
  16. Prog(4)
  17. Prog(8)
Success #stdin #stdout 0.09s 14120KB
stdin
Standard input is empty
stdout
170
54
20
9
2
-1
0
14
90