Tell us what’s happening:
i can’t figure out this 23rd step in the python course
Your code so far
# User Editable Region
text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for i in text: print(i)
# 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/123.0.0.0 Safari/537.36 Edg/123.0.0.0
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 23
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/step-23*strong text*
Ray13
April 4, 2024, 6:45am
2
filip.ugrinic.mail:
for i in text: print(i)
Hi there! Remember to indent the loop body. Look at the given example (in the task description)
1 Like
thank you,i did everything just like in your post but i keep getting this message: You should add print(i)
to your for
loop body. Pay attention to the indentation.
Ray13
April 4, 2024, 8:03am
5
Show your edited code, please. Oh, wait
You don’t have to copy that line from my post. Take a look at the given example in the task description and use it as a pattern:
for i in text:
print(i)
system
Closed
October 3, 2024, 8:03pm
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.