Day 3: Intro to Conditional Statements

  • + 0 comments

    Python :

    N = int(input().strip())
    if (N % 2 != 0) or (N in range(6,21)):
        print("Weird")
    else:
        print("Not Weird")