Aug-07-2017, 04:58 AM
I am tying to do a conditional assignment, and it isn't working. I can't work out what I've done wrong. Any suggestions would be very gratefully received. I can enter a score (eg 0.95) and it prints. But then fails on the conditional if expression.
score = float( input( ' Enter Score between 0.0 and 1.0: ' ) ) print('Score: ' , score) if score >= 0.9 and < 1.0 : print('Score: A')Thanks, Charlotte