I think you should make the first elif statement hero.time > 10 and hero.time < 35.
elif
hero.time > 10
and
hero.time < 35
Also, next time make sure to copy your code and paste it formatted here, instead of taking a picture.