Battery Warning in Python

Use a Python if statement to check a battery level and print a warning only when the provided value falls below the required threshold.

Python

Challenge overview

Format
Logic Puzzle
Category
Python
Difficulty
Beginner
pythonconditionalsif-statementcomparison

Keep practicing

More coding challenges