Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = input()
- check = 0
- for i in a:
- check += int(i) ** len(a)
- if check == int(a):
- print("нарцисс")
- else:
- print("лох")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement