OUTPUT
price_history = [249,229,279,259,219,259,279]
black_friday_price = 229
for x in price_history:
if x > black_friday_price:
print("This product has been cheaper " + x)
print("I have checked the price")
#This code contains errors. Can you fix this Python code? Have a go!
Welcome to Python Online. Type in your Python code and click on the RUN button or use the following shortcuts: Chrome and Edge on Windows: Alt + R Firefox on Windows: Alt + Shift + R Firefox and Chrome on Mac: Control + Option + R Firefox and Chrome on Linux: Alt + Shift + R