Learn String Manipulation by Building a Cipher - Step 7

Tell us what’s happening:

Modify your existing print() call by passing len(text) instead of text[-1].

Your code so far


# User Editable Region

 text = 'Hello World'
print(len)(text)

# 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/136.0.0.0 YaBrowser/25.6.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 7

Hi. You have an error here in the syntax of your print call and the argument passed inside it. Can you work out what it is? If not please reply to this thread for further support.

print(len)(text)

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