the code given in python chapter 4 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 give in the but after this code it shows the error
SyntaxError : invalid syntax (<pyshell#3>, line 3 )