Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge | Strings
Introduction to Python | Mobile-Friendly
course content

Kurssisisältö

Introduction to Python | Mobile-Friendly

Introduction to Python | Mobile-Friendly

1. Python Basics
2. Variables
3. Strings

book
Challenge

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 5

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

course content

Kurssisisältö

Introduction to Python | Mobile-Friendly

Introduction to Python | Mobile-Friendly

1. Python Basics
2. Variables
3. Strings

book
Challenge

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 5
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt