Learn String Manipulation by Building a Cipher - Step 12

Tell us what’s happening:

i am not able to understand how to type the code of step 12

Your code so far

text = ‘Hello World’

alphabet=‘abcdefghijklmnopqrstuvwxyz’

shift = 3

print(alphabet=‘abcdefghijklmnopqrstuvwxyz’)


# User Editable Region

text = 'Hello World'
alphabet='abcdefghijklmnopqrstuvwxyz'
shift = 3
print(alphabet='abcdefghijklmnopqrstuvwxyz')

# 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 Edg/122.0.0.0

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 12

Welcome to the forum @Sanhith

For this step, remove the print call you added. The new variable was declared correctly.

Happy coding

1 Like

Hi @Sanhith and welcome to fCC forum.
In this task you:

  1. Remove the lines with print function.
  2. Declare the variable alphabet. What to assign to this variable has been provided.

Example of declaring a variable:

iamavariable = `iamthevalue`

Hope this helps.

:+1: Happy coding

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