Python Basics (2015)
Python Data Types
NameError: name 'black' is not defined
colors = [black, yellow, green, blue, orange]
Never mind I just seen what I did wrong since the list is a string I forgot to add the "" before and after each color.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.
I forgot my password