You are viewing a single comment's thread. Return to all comments →
n = int(input().strip()) print("Weird" if (n % 2 != 0) or (n in range(6, 21)) else "Not Weird")
Python If-Else
You are viewing a single comment's thread. Return to all comments →
Python