Learn String Manipulation by Building a Cipher - Step 6

Tell us what’s happening:

When i click on checking buttom does not work for me

Your code so far


# User Editable Region

txt = "Hello World"
print(-1)

# User Editable Region
Checking is not working

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/340.3.689937600 Mobile/15E148 Safari/604.1

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 6

Hi @Aden1 and welcome to our community!

You should have this starting code:

text = 'Hello World'
print(text[6])

You are asked to modify the print call to print the last character in your string.

You have made other unnecessary modifications. Hit the Reset button to restore the starting code above and then modify only the contents of the print call.