You are viewing a single comment's thread. Return to all comments →
hai, i used this method to solve it in python3.I am not able to spot
#!/bin/python3 import math import os import random import re import sys if __name__ == '__main__': N = int(input().strip()) if N/2 != 0: print("Weird") else: if N in range (2,6): print("Not Weird") elif N in range (6,21): print("Weird") elif N > 20: print("Not Weird")
`
Day 3: Intro to Conditional Statements
You are viewing a single comment's thread. Return to all comments →
hai, i used this method to solve it in python3.I am not able to spot
`