Python - String Exercises


Test Yourself With Exercises

Now you have learned a lot about Strings, and how to use them in Python.

Are you ready for a test?

Try to insert the missing part to make the code work as expected:

Test Yourself With Exercises

Exercise:

Use the len method to print the length of the string.

x = "Hello World"
print()

Go to the Exercise section and test all of our Python Strings Exercises:



Login
ADS CODE