Python Starter Kit & Foundations

Python Kickstart

Learning Outcome

5

Differentiate between basic data types and use them appropriately

4

Create and use variables to store and manipulate data

3

Apply in-built Python functions to perform simple operations efficiently

2

Identify and use basic input and output functions for user interaction

Explain what a Dockerfile is

1

Understand how Python programs are written and executed in a structured way

6

Set up a Python environment and run their first working program

 Analogy

Imagine you walk into a coffee shop

You tell the barista:

“Give me one cappuccino with less sugar.”

You give instructions like writing code

The barista understands your language

 like Python interpreter

You get output  your coffee

Just like giving clear instructions in real life, programming requires:

  • A structured way to write instructions
  • A system to understand and execute them
  • Proper communication between user and machine

Python provides a simple and readable way to do this

Let’s start by writing and running our first Python program.

 Writing & Executing First Python Program

Steps:

Open Python (IDLE / Colab)

Create a new file

Write your first code

print("Hello, World!")

Run the program

Output:

Hello, World!

Key Insight:

Python executes code line-by-line in a simple readable format

Understanding Python Syntax & Structure

Python uses indentation instead of brackets

Code is written in a clean and readable format

Example:

if 5 > 2:
    print("5 is greater than 2")

Important:

Indentation is mandatory

No semicolons required

Basic Input & Output

History & Evolution of Python

Created by Guido van Rossum (1991)

Designed for simplicity and readability

Evolved with versions: Python 2 → Python 3

Now one of the most popular languages globally

Python Community (2022)

Python has millions of developers worldwide (~8–10 million)

One of the fastest-growing programming communities

Strong support through forums, tutorials, and open-source projects

Insight:

A large community = better support + more opportunities

How to Interact with Python

 

You can run Python in different ways:

Command Line (Terminal)

IDLE (default Python editor)

Notebooks (interactive coding)

Installing Python & Tools

Install Python

Download from python.org

Install and check version

Default Editor

IDLE (comes with Python)

Other Tools

  • ITV (learning environments)
  • Google Colab (online coding)
  • Anaconda (for data science)

Colab Example:

Open browser

Write code

Run instantly (no installation)

Hello World Program

The first program everyone writes:

print("Hello World")

Output:

Hello World

Steps:

Open Python/Colab

Type code

Run → see output

Insight:

This confirms your Python setup is working correctly

Summary

4

It is used in web development, AI, data science, and automation

3

Python is simple, powerful, and widely used across industries

2

Languages are categorized into low, medium, and high-level based on abstraction

1

Programming languages help humans communicate with computers effectively

Quiz

Who created Python?

A. Bill Gates

B. Elon Musk

C. Guido van Rossum

D. Mark Zuckerberg

Quiz-Answer

Who created Python?

A. Bill Gates

B. Elon Musk

C. Guido van Rossum

D. Mark Zuckerberg

Python Kickstart

By Content ITV

Python Kickstart

  • 14