• + 3 comments

    I tried your code : if (n in range (6, 21) or n % 2 != 0):     print("Weird") else:     print("Not Weird")

        its showing TypeError : not all arguments converted during string formatting