Practice Input and Output - 11.6 | 11. Python Programming | CBSE Class 11th 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 does the input() function do?

💡 Hint: Think about how we interact with the program.

Question 2

Easy

What type of data does the variable type for input() return?

💡 Hint: What do we call text values in programming?

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 does the input() function do?

  • It prints data to the console
  • It captures user input
  • It calculates values

💡 Hint: Think about how you gather data from users.

Question 2

The print() function outputs data to the user. True or False?

  • True
  • False

💡 Hint: Consider how you would let the user see output messages.

Solve 1 more question and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Create a script that asks for the user's favorite food, stores that, and then prints a complete sentence about it, such as 'Your favorite food is Pizza.'

💡 Hint: Think about how to structure your sentences while including the variable.

Question 2

Write a program that asks for a user's first name and last name, then prints a greeting using both names in a formatted manner.

💡 Hint: Use both first and last name variables in your print statement.

Challenge and get performance evaluation