Does anybody know how to fix this error?

I did get a error in Python by my code. The error said: NameError: name 'wn' is not defined
How to solve this? Here under is the code.

import turtle
wn.turtle.Screen()
wn.title("Falling Skies")
wn.bgcolor("beige")
wn.setup(width= 800, height= 600)

I think this line is supposed to be:

wn = turtle.Screen()

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.