Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if __name__ == '__main__':
- n = int(input().strip())
- if(n%2!=0):
- print("Weird")
- elif(n%2 and 2<=n and n<=5):
- print("Not Weird")
- elif(n%2 and 6<=n and n<=20):
- print('Weird')
- elif(n%2 and 20<n):
- print("Not Weird")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement