Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge | Strings
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Introduction to Python | Mobile-Friendly

bookChallenge

Suppose you are given the variables name (as a string) and age (as an integer). You need to output the message in the following format "name is age y.o." using concatenation.

question-icon

Fill in the blanks to complete the task.

# Variables
name = "Jim"
age = 34

# Output the message
print()
Jim is 34 y.o.

Click or drag`n`drop items and fill in the blanks

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 5

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

bookChallenge

Swipe to show menu

Suppose you are given the variables name (as a string) and age (as an integer). You need to output the message in the following format "name is age y.o." using concatenation.

question-icon

Fill in the blanks to complete the task.

# Variables
name = "Jim"
age = 34

# Output the message
print()
Jim is 34 y.o.

Click or drag`n`drop items and fill in the blanks

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 5
some-alt