0

facing problem in setting the range in an if statement

if n>=6 & n<=20:
    print("Weird")

When I check the output for n=6 and n=20 if a not getting weird as output. I included 6 and 20 in the statement, but it doesn't work

S.B
  • 13,077
  • 10
  • 22
  • 49

0 Answers0