Learn String Manipulation by Building a Cipher - Step 2

Tell us what’s happening:

Ive tried everything so far but the code wont work

Your code so far


/* User Editable Region */

del number
text = (str("Hello World"))

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

Hello Vedaantparab,

When it said delete your number variable they meant you have to actually remove the whole thing using the delete or backspace button on your keyboard…
As for the text variable you can simply assign it the string, you don’t have to use brackets or methods. Something like "Hello World" is considered a string. There are more examples in the question text.

OH MY BAD Yeah i got the hello world part I was wondering why it wasnt letting me delete the variable lol :skull:

1 Like

All good haha, did it work now?

check the function declaration! del number():