+ 1

Pausing screen and if statements

I’m not really sure how to pause a screen with an input statement and I’m having problems converting if statements. I need somewhere or someone to show a picture of what my program is looking like so far and how the problem looks too. Please respond quickly. Heres the code: if(typeofmeal == “Regular”). adultmealcost = float(REGULAR_MEAL*NumberofAdults) elif(typeofmeal ==“Regular”) There are different constants for different meals When i run it it gives me an error

19th Nov 2017, 5:21 AM
Gianmarco Lora
Gianmarco Lora - avatar
1 ответ
+ 2
You provided no code EDIT* The code you provided doesn't tell me much other than both your IF and ELSE IF conditions are the same.
19th Nov 2017, 6:50 AM
Sapphire