+ 1
"Expected an Intended Code Block".
I keep getting an error called Intended Block. I'm on python What is it and how do I fix it? Oh btw, I'm trying to run an If else codes. Here it is: cost = 1000 budget = 1000 if cost < budget: print ('You are under budget ') else: if cost == budget: print ("You have spent all the money") else: if cost > budget: print ("The item is over your budget.")
4 ответов