Hello,
for this exercise I wrote this code:
price=250
if price>=300:
price - (price30/100)
elif (price>=200 and price<300):
print(price - (price20/100))
elif (price>=100 and price<200):
price - (price10/100)
elif (price>=0 and price<100):
price - (price5/100)
else:
price
and I got the message that this produces incorrect output.
when I put this code into pycharm, my code is correct.
what is the reason?