Day 3: Intro to Conditional Statements

  • + 0 comments

    if n%2==0: if (n>=2 and n<=5) or(n>20): print("Not Weird") else: if n>=6 or n<=20: print("Weird") else: print("Weird")