dxnge

6

Oct 17th, 2021
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. x = 81**17 + 3**24 - 45
  2. cnt = 0
  3. while x != 0:
  4.     if x % 9 == 8:
  5.         cnt += 1
  6.     x = x//9
  7. print(cnt)
Advertisement
Add Comment
Please, Sign In to add comment