Notice: session_start(): A session had already been started - ignoring in /home/u614325693/domains/onedoubt.com/public_html/post.php on line 3
List Exercises - ONEDOUBT.COM

Python List Exercises


Test Yourself With Exercises

Now you have learned a lot about lists, 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:

Exercise:

Print the second item in the fruits list.

fruits = ["apple", 
"banana",
"cherry"] print()

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



Login
ADS CODE