Practice What is the Function? - 18.1 | 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

Simple use of print function. What will be the output of print("Python!")?

💡 Hint: Think about what you expect to see on the screen.

Question 2

Easy

Print two strings. What will be displayed if you run print("AI", "Learning")?

💡 Hint: Remember the default separator.

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 will print("Hello", "World") output?

  • HelloWorld
  • Hello World
  • Hello
  • World

💡 Hint: Focus on how multiple items are printed.

Question 2

True or False: The print() function can only display strings.

  • True
  • False

💡 Hint: Consider all the data types we can print.

Solve 2 more questions and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Write a print statement that takes a name and age and outputs a sentence: 'Your name is [name] and you are [age] years old.'

💡 Hint: Use f-strings to include both variables in the output.

Question 2

Create a print statement that prints: 'Result: A1 + B2 = 5', where A1 and B2 are variables defined as A1 = 3 and B2 = 2.

💡 Hint: Incorporate variable values and arithmetic directly in your print statement.

Challenge and get performance evaluation