Python else if condition 


n = int(input().strip())
check = {True: "Not Weird", False: "Weird"}

print(check[
        n%2==0 and (
            n in range(2,6) or 
            n > 20)
    ])

Comments

Popular posts from this blog

About RAM

Class and object in c++