You are viewing a single comment's thread. Return to all comments →
It's cool that you can try to solve on eproblem in many different ways. I mean the code above defeats the point but it's still really cool!!
n = int(input().strip()) check = {True: "Not Weird", False: "Weird"} print(check[ n%2==0 and ( n in range(2,6) or n > 20) ]) #Diapolo10 created this
Python If-Else
You are viewing a single comment's thread. Return to all comments →
It's cool that you can try to solve on eproblem in many different ways. I mean the code above defeats the point but it's still really cool!!