dxnge

12

Nov 3rd, 2021
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. x = 4*625**9-25**15+2*5**11-7
  2. cnt = 0
  3. while x != 0:
  4.     if x % 5 == 4:
  5.         cnt += 1
  6.     x = x//5
  7. print(cnt)
  8.  
Advertisement
Add Comment
Please, Sign In to add comment