• + 1 comment

    if name == 'main': n = int(input().strip()) if n % 2 == 0 and n > 20: print("Not Weird") if n % 2 == 0 and n >= 6 and n <= 20: print("Weird") if n % 2 == 0 and n >= 2 and n <= 5: print("Not Weired") if n % 2 != 0: print("Weird")

    code is right in my system woriking fine when i gived input 4 output:Not Weird

    but here it showing test case 2 fail beacause input is 4, also when i give custom inpute : 4 working fine : )

    please fix it.