Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. from math import ceil
  2. from math import log10
  3.  
  4. c=""
  5. x = int(input())
  6.  
  7. if 3/2*2 == 2:
  8. c=x**2+5
  9. else:
  10. x = 10**(ceil(log10(x)))-x
  11. c = round(1/3*2**(-6+x)*x*(15+3*2**(1+x)+3**x-3*(8+2**x)*x+6*x**2))
  12. print(c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement