pyPython Practice LabFrom first print to final round
TOPIC 01 OF 18

Python Foundations Python practice problems

Programs, values, variables, input(), print(), and basic type conversion.

5 exercises3+ conceptsBeginner → interview context
Start this topic
WHAT 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.

  1. #001
    Echo a message: Coding club announcement

    A coding club wants its announcement displayed exactly as entered.

    StarterFree preview
  2. #002
    Echo a message: Preserve punctuation

    A support tool must echo a status message containing spaces and punctuation.

    StarterFree preview
  3. #003
    Create a personal greeting: Welcome a learner

    Generate a friendly greeting for a learner joining a Python class.

    StarterFree preview
  4. #004
    Create a personal greeting: Name with spaces

    Greet a participant whose full name contains a space.

    StarterFree preview
  5. #005
    Add two integers: Add two cart quantities

    A shop combines quantities from two small orders.

    StarterFree preview