Day 16 of 100 Days of Python is wrong

Problem description

The day 16 code is wrong. It’s supposed to be

while True:
  color = input("Enter a color: ")
  if color == "red":
    print("Cool color!")
  else:
    break
 print("I don't like red!")

Expected behavior

while True:
  color = input("Enter a color: ")
  if color == "red":
    print("Cool color!")
  else:
    break
 print("I don't like red!")

Actual behavior

while True:
  color = input("Enter a color: ")
  if color == "red":
     break
  else:
    print(“Cool Color!”
 print("I don't like red!")

Steps to reproduce

Copy and paste the code before the last page of the totorial.

Browser

I don’t know

OS

iOS

Device if mobile

iOS

Plan

Free tier

2 posts were merged into an existing topic: Day 016 - Project 16 : Make It Stop