Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def func(x):
- found = len(str(x)) == len(hex(x)) - 2
- if (x%5 == 0 and x%25 != 0 and found):
- return True
- return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement