Why doesn't my solution work?

I am confused at why my code is not working:

def in_range(num, lower, upper):
if num >= lower and num <= upper:
return “True”
else:
return “False”

I am receiving this error:
File “script.py”, line 4
return “True”
^
TabError: inconsistent use of tabs and spaces in indentation

I have messed around with indents on all lines, and cannot figure out why mine is not valid. I used the “give me solution” button and I see that Codecademy’s version is a little shorter, but I am still wondering why mine doesn’t work… Thanks!

I think because you had the bool as string ie “True” and “False” instead of True and False

def in_range(num, lower, upper):
  if num >= lower and num <= upper:
    return True
  return False

# Uncomment these function calls to test your in_range function:
print(in_range(10, 10, 10))
# should print True
print(in_range(5, 10, 20))
# should print False