Learn String Manipulation by Building a Cipher - Step 13

Tell us what’s happening:

I am not getting the result from my code, I do not know where the problem is

Your code so far


# User Editable Region


# Declare the alphabet string
alphabet = 'abcdefghijklmnopqrstuvwxyz'

# Find the position of the first letter in the alphabet string
position_of_first_letter = alphabet.find(alphabet[0])

# Print the result
print("Position of the first letter in the alphabet:", position_of_first_letter)

index = "o"
print(index)


# 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

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 13

Reset the lesson. Don’t add all these comments and extra variables.

Just try to follow the instructions as simply as you can. If it doesn’t ask for a new variable, do not create one.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.