Share your repls and programming experiences

← Back to all posts
line9 incorrect syntax?
D41090321 (0)

week 4 Discussion if else elif ladder

print("Welcome you are ready to vote! ")

Get input from user

int( input("Enter your age")

if age <= 40
print("Welcome you are ready to vote. ")
print("Come back when you meet the age requirements. ")

Shemira (13)

You forgot to add a colon on line 8. Try changing adding a colon at the end of line 8.