I Haz Codes

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Red or blue

Enter the code below into python. The code will ask what colour you want to set a square to be. Change the code so it –

Change the ???? to check to see if col is blue.
Add two more if statements to check for yellow and green.

from mrh import *
col = input("do you want red or blue? ")
if col == "red":
if ??????:

You need to log in or create an account to submit code!

Comments are closed.