Question = input("How much money did Kingsman make this weekend?:")
if Question > "10000000":
print("Wow! What an opening!")
elif Question >= "5000000" <= "9000000":
print("Hey! Not a bad start!")
elif Question < "5000000":
print("Are you happy with this result?")
If I was to say that kingsman made $4,000,000 it outputs the message for when the movie makes over 10mil, but the really weird thing is that when I input $1 it outputs the message for when the movie makes less than 5mil (as it should) and as I go up to $4,000,000 it displays the output for less than 5mil (as it should). For some reason, the outputs for the same numbers are changing (in this case 4mil) from "wow! what an opening" to "are you happy with this result" and I don't understand why.
Also, I'm not sure if "elif Question >= "5000000" <= "9000000":" is correct. I'm trying to say that when the movie's revenue is in the range of 5mil to 9mil that it should display the message "Hey! Not a bad start!"