the code given in chapter 4 page 59 shows error. whenever i try to enter the code below it says syntax error
Code:
milk_price = 1.50
if milk_price <1.25:
print("Buy two cartons of milk,they're on sale")
elif milk_price < 2.00:
i was suppose to enter the full code given in the book but after this code it shows the error
SyntaxError : invalid syntax (<pyshell#3>, line 3 )