Practice PRINT - 18 | 18. PRINT | CBSE Class 9 AI (Artificial Intelligence)
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 is the output of print('Python is fun!')?

💡 Hint: Think about simple string output.

Question 2

Easy

How do you print the number 100?

💡 Hint: Use the print function.

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

What is the default separator in the print() function?

  • Comma
  • Space
  • Dash

💡 Hint: Think about how printed outputs look.

Question 2

Can you use print() to output multiple variables at once?

  • True
  • False

💡 Hint: Remember the function allows for multiple objects.

Solve 1 more question and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Create a Python script that introduces yourself with your name and age using the print() function. It should use f-strings and display: 'My name is [Your Name] and I am [Your Age] years old.'

💡 Hint: Focus on embedding your variables within the f-string.

Question 2

How would you modify this print statement to include escape characters? print('Welcome to the AI class!') to also show that it encourages learning.

💡 Hint: Think about using \\n to add a newline.

Challenge and get performance evaluation