+ 1

What is wrong with this code

Color = input(" Please enter color ") if color == "black" : Print ("It is black")

5th Feb 2019, 12:57 PM
Mashud Abiola
Mashud Abiola - avatar
1 Answer
0
print not Print and you should indent it. if color == "black" print(" ") Color and color are not the same.
5th Feb 2019, 1:00 PM
Bahha┣
Bahha┣ - avatar