Chapter 18mChallenge
Python Introduction — Challenge
What Python is and why it is popular.
This content is not yet available in ta. Showing English version.
View in English →Apply what you've learned. Each challenge includes starter code and test cases.
Countdown 5 to 1
easyCountdown
Print numbers from 5 down to 1, each on its own line.
Expected Output
text
5
4
3
2
1STARTER CODE
# Print 5, 4, 3, 2, 1 — each on its own line
1 test cases
Start ChallengeSum of Two Numbers
easySum of Two Numbers
Create a program that prints the sum of 15 and 27.
Expected Output
text
42STARTER CODE
# Print the sum of 15 and 27
1 test cases
Start ChallengeHello, World!
easyHello, World!
Print Hello, World! to the console.
Example Output
text
Hello, World!STARTER CODE
# Print "Hello, World!" below
1 test cases
Start Challenge