question 35 Conditional Logic · easy
A battery indicator
A phone shows one battery message. While it is charging it always says Charging. Otherwise it says Charge now at 10% or below, Low at 25% or below, and OK above that. Replace each ??? with a test.
First lines
battery = 18 and charging = False. Check runs your program again with other readingsPrints
LowExpected output1 line
- 1Low