Created
February 24, 2020 12:17
-
-
Save shishircse06/9f15c23a4e402fc5af4cf292ca53224c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import math | |
import os | |
import random | |
import re | |
import sys | |
if __name__ == '__main__': | |
n = int(input().strip()) | |
if n % 2 == 1: | |
print("Weird") | |
elif n % 2 == 0 and n in range(2,6): | |
print("Not Weird") | |
elif n % 2 == 0 and n in range(6,21): | |
print("Weird") | |
else: | |
print("Not Weird") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment