Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- codes1example = [1240, 1241, 2014]
- variable1example = 4120
- temp = map(sorted, (map(str, codes1example)))
- if sorted(str(variable1example)) in temp:
- print("Ok!")
- else:
- print("No!!!")
- #-->Ok!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement