187k views
11 votes
Find the error.

x=40

y=90

If(x>y and x<50)

print(a+10))

ELIF(x<y or x>50):

print(b*10)​

User Jonas Kohl
by
3.2k points

1 Answer

10 votes

Answer:

If(x>y and x<50): # add semicolon

print(a+10) # one close bracket

add " " double quotes inside print statements

print("a+10")

User Hossam Ali
by
3.6k points