Python Foundations Python practice problems
Programs, values, variables, input(), print(), and basic type conversion.
5 exercises3+ conceptsBeginner → interview context
Start this topicWHAT YOU WILL PRACTISE
Core concepts
Echo a messageCreate a personal greetingAdd two integers
REUSABLE THINKING
Problem-solving patterns
- input · print
- strings · f-string
- integers · arithmetic
PRACTICE OUTCOME
What this topic builds
Learn the idea once, use it across the exercises, and explain why your approach works.
ORDERED PRACTICE
All 5 problems in this topic
Work from top to bottom to build the concept gradually.
- #001Echo a message: Coding club announcementStarterFree preview
A coding club wants its announcement displayed exactly as entered.
- #002Echo a message: Preserve punctuationStarterFree preview
A support tool must echo a status message containing spaces and punctuation.
- #003Create a personal greeting: Welcome a learnerStarterFree preview
Generate a friendly greeting for a learner joining a Python class.
- #004Create a personal greeting: Name with spacesStarterFree preview
Greet a participant whose full name contains a space.
- #005Add two integers: Add two cart quantitiesStarterFree preview
A shop combines quantities from two small orders.