Tell us what’s happening:
Im new to coding and very confused: why is everyone saying that W is the 6th, even though O is, since with the example: Hello World, H was 0 meaning that o must be 6. And why is my code wrong, I’ve tried everything
Your code so far
# User Editable Region
o = 'Hello World'
print(o[6])
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Learn String Manipulation by Building a Cipher - Step 5