GH avatar Bite 101. f-strings and a simple if/else

The latest way to print to the screen in Python (>= 3.6) is with f-strings.

In this Bite we'll get you to calculate whether a person is able to drive or not based on their minimum age which is stored in the constant MIN_DRIVING_AGE.

Print name is allowed to drive or name is not allowed to drive (note there is no period), based on the age being equal or greater than MIN_DRIVING_AGE.

1287 out of 1545 users completed this Bite.
Will you be Pythonista #1288 to crack this Bite?
It takes an average of ~24 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 3.47 on a 1-10 difficulty scale.
» You can do it! 😌

Login and get coding
We use Python 3.7