Practice Printing with Concatenation - 18.11 | 18. PRINT | CBSE 9 AI (Artificial Intelligence)
Students

Academic Programs

AI-powered learning for grades 8-12, aligned with major curricula

Professional

Professional Courses

Industry-relevant training in Business, Technology, and Design

Games

Interactive Games

Fun games to boost memory, math, typing, and English skills

Printing with Concatenation

18.11 - Printing with Concatenation

Enroll to start learning

You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.

Learning

Practice Questions

Test your understanding with targeted questions

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.

4 more questions available

Interactive Quizzes

Quick quizzes to reinforce your learning

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.

2 more questions available

Challenge Problems

Push your limits with advanced challenges

Challenge 1 Hard

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.

Challenge 2 Hard

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!

Get performance evaluation

Reference links

Supplementary resources to enhance your learning experience.