Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input())
- z = 2
- if x != 2:
- for i in range(x-3):
- if x % z != 0:
- z += 1
- else:
- break
- else:
- print('prostoe')
- if x % z == 0 and x != 2:
- print('slozhnoe')
- if x % z != 0:
- print('prostoe')
Advertisement
Add Comment
Please, Sign In to add comment