0 Comments
Answer: I believe that your code is correct, you just have a slight syntax error:
The correct code:
word = “Ninja"
print(“Your word is “ + word + ".")
for i in word:
print( i + "!”) #you were missing the pair of ()
9.4m questions
12.2m answers