Practice Printing with Concatenation - 18.11 | 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 will be the output of this code: print('Hello, ' + 'Python!')

💡 Hint: It's a simple greeting.

Question 2

Easy

Concatenate 'Goodbye, ' with 'Friend.' What do you get?

💡 Hint: Think about how strings are joined together.

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 this code print: print('Hello, ' + 'there!')?

  • Hello
  • there!
  • Hello there!
  • Error

💡 Hint: Look for spaces and punctuation.

Question 2

Can you concatenate a string and a number directly in Python?

  • True
  • False

💡 Hint: Think about data types.

Solve 2 more questions and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

You have the variables: name = 'Alice', age = 22, hobby = 'painting'. Write a print statement that outputs: 'Alice is 22 years old and likes painting.'

💡 Hint: Ensure all parts are properly concatenated.

Question 2

Create a dynamic greeting using input values: name = input('Enter your name: '), greet = 'Welcome'. Output should be 'Welcome, [name]!'

💡 Hint: Don't forget to ensure user input is treated correctly!

Challenge and get performance evaluation