This code is supposed to accept a word as input, and then print that word to the screen.
input ("Enter a word: ")
print (w)
What is the error in this code?
Nothing, there is no error.
When we print(w), the w should be in quotes
The input needs to be stored to a variable, w