Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+5 votes
asked in CSC201 Spring 2021 by (8 points)

2 Answers

+4 votes

does the 'window' match the variable you used in the line to define your window?

I had the problem where I said

win = create the window

when I needed to do


otherwise you might need to lowercase 'black'

answered by (495 points)
+1 vote

Did you create a graphical window first with GraphWin()?

and then do your whateverYouNamedThisWindow.setBackground("black")

answered by (8 points)