Advertisement
qosu_

1111

Nov 2nd, 2020 (edited)
2,229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. def func(x):
  2.     found = len(str(x)) == len(hex(x)) - 2
  3.     if (x%5 == 0 and x%25 != 0 and found):
  4.         return True
  5.     return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement