Advertisement
MatveyL

1/1

Feb 27th, 2023
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. a = input()
  2. check = 0
  3. for i in a:
  4.     check += int(i) ** len(a)
  5. if check == int(a):
  6.     print("нарцисс")
  7. else:
  8.     print("лох")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement