Describe You should add index as the second argument to your existing print(char) call. Don’t forget to separate the arguments with a comma.your issue in detail here.
Your code so far
my code is not passing and getting the following message
# User Editable Region
message = 'Hello World'
index = 0
for char in message:
print(char, index)
index += 1You should add index as the second argument to your existing print(char) call. Don't forget to separate the arguments with a comma.
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 CCleaner/120.0.0.0
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 28
ok i have followed the instruction to my best knowledge but it still seems incorrect and i m not sure where the error is it is step 28 of coding with python
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.