Learn String Manipulation by Building a Cipher - Step 11

Tell us what’s happening:

Describe your issue in detail here.

Your code so far


/* User Editable Region */

alphabet = abcdefghijklmnopqrstuvwxyz
print(alphabet)

/* 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 11

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Hello Chris,

You don’t have to print the alphabet variable yet, just assign it. Also the abcdefghijklmnopqrstuvwxyz part that you assigned it with is currently not a string. You will have to change it to make sure the computer knows it’s supposed to be a string.

2 Likes

Is it asking for just the one line or to keep the other strings as well

1 Like

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

can you tell me how to make the computer know it was supposed to be a string?

Learn about strings in Python here:

https://www.w3schools.com/python/python_strings.asp

Strings in python are surrounded by either single quotation marks, or double quotation marks.