234,481 views
30 votes
30 votes
Hey, I am doing coding class FLVS! I need help with this, In the image you have to turn that unto a code. I am doing DBS so what would be the code?

Hey, I am doing coding class FLVS! I need help with this, In the image you have to-example-1
User Vadimtrifonov
by
2.5k points

2 Answers

15 votes
15 votes

Answer:

# Name, Date, Short Description

def main():

age = int(input("How old are you?"))

if(age >= 16):

print("You can drive a car!")

else:

print("You must be 16 or older to drive.")

main()

User Eran Yogev
by
3.3k points
26 votes
26 votes

Answer:

Sorry, I don't know.

User Elson Ramos
by
2.4k points