Practice Lists and Strings - 11.9 | 11. Python Basics | CBSE Class 10th AI (Artificial Intelleigence)
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.

Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

What type of data structure is a list in Python?

💡 Hint: Think about whether you can change its content after it's created.

Question 2

Easy

How would you access the first element of a list named fruits?

💡 Hint: Remember that indexing starts at zero in Python.

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

Which of the following is true about lists in Python?

  • They are immutable
  • They are mutable
  • They cannot hold mixed types

💡 Hint: Think about whether you can change a list after you've created it.

Question 2

Strings can be modified in Python.

  • True
  • False

💡 Hint: Consider the property of strings as immutable.

Solve 2 more questions and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Create a list of 5 favorite cities, change one city to a new one, and then print the modified list.

💡 Hint: Think about how to use indexing to access and change the list.

Question 2

Given a string, 'computer', create a new string that has the first and last character swapped.

💡 Hint: Use string slicing to rearrange characters.

Challenge and get performance evaluation