Tell us what’s happening:
Idk what to do, they are asking me to use len() but i’m not understanding how
Your code so far
# User Editable Region
text = 'Hello World'
print(text[-1])
# 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/122.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 7
Modify your existing print() call by passing len(text) instead of text[-1].
Try replacing text[-1] with len(text)
Thank you so much, the only thing that was missing was another ‘)’
ILM
5
your message is quite rude, please avoid behaving like that
anyway, print is a function, you need to call it and give it an argument print("thing to print goes here")
Note, please open your own topic instead of necroing somebody else’s. Thanks