if number <10 and >90:
print(f"Your score is {number}, you go together like coke and mentos.")
elif number >= 40 and <= 50:
print(f"Your score is {number}, you are alright together.")
else:
print(f"Your score is {number}.")
File "main.py", line 34
if number <10 and >90:
^
SyntaxError: invalid syntax
I'm very new to learning Python and I can't understand why I'm getting an error here. Any help is appreciated.
Edit: Thanks for the help. Yes, I accidentally typed 'and' instead of 'or' for the first statement. And the problem was I wasn't putting the variable name in front of each >/<.