Skip to content
Sign upLog in
← Back to Community

DRIVING CHECK

Profile icon
DeepModi

BASIC PYTHON CODE FOR PERSON CAN DRIVE OR NOT, FROM THEIR AGE.

Voters
Profile icon
DeepModi
Comments
hotnewtop
Profile icon
VulcanWM

Man, it says I can drive without a license.

Profile icon
DeepModi

thank you for your [email protected] it's changed...

Profile icon
VulcanWM

Your welcome, great

@DeepModi

Profile icon
DeepModi

is there any other way for yes/no option can replace [email protected]

Profile icon
VulcanWM

What do you mean?

@DeepModi

Profile icon
DeepModi

i mean that,
if condition_licence == "yes" or "Yes" or "YES":
is there any other condition where this condition can replace?

@medcho

Profile icon
VulcanWM

Use that statement, then do
else:
print(“You can’t drive”)


@DeepModi