Hello, I’m working on this task:
Here is my code:
x = i swear
i swear = i am a member of the reistance
print (x)
print (x)
print (x)
print (x)
print (x)
Can anyone please help me to solve it?
Hello, I’m working on this task:
Here is my code:
x = i swear
i swear = i am a member of the reistance
print (x)
print (x)
print (x)
print (x)
print (x)
Can anyone please help me to solve it?
Welcome to CodeEasy forum, @el10
When creating a variable, you can’t have spaces in the name. So, i swear should be: i_swear
when assigning the string, use double quotes like this:
i_swear = "i am a member of the resistance"
When printing, use your variable i_swear
instead of x
, like this:
print(i_swear)
And the last issue - you have a spelling mistake in the word “resistance”. Once you fix these issues, you are good to go!