subject

I keep getting a syntax error for this block of code and I do not know why. elif(int(numRooms) >= 20)
print("you get a 20% discount")
discountPercent=20

elif(int(numRooms)>=10)
print("you get a 10% discount")
discountPercent=10

Statment expected, found Py:ELIF_KEYWORD

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:40
If you arrive at the same time as another user straight across from you yield if a. they flash your headlights at you b. you can’t see their turn signals c. you’re going street and they’re running d. you’re turning they’re going straight plz
Answers: 1
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
You know the right answer?
I keep getting a syntax error for this block of code and I do not know why. elif(int(numRooms) >...
Questions
question
Mathematics, 23.02.2021 14:00
question
Mathematics, 23.02.2021 14:00
question
World Languages, 23.02.2021 14:00
question
English, 23.02.2021 14:00
question
Biology, 23.02.2021 14:00
Questions on the website: 13722360