37.4k views
1 vote
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

2 Answers

5 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 Evandro Coan
by
5.9k points
2 votes

Answer:

Sorry, I don't know.

User Turismo
by
5.5k points