Python · college exercises

Learning Python, one small program at a time.

Practice files from Django Girls and early coursework—printing, lists, functions, input, conditionals, and loops.

# college-era Python practice
list2 = ["a", "b", "c"]

for name in list2:
    print(name)

inp3 = input("Enter Numbers of friends you want:")
friends = ["wada"]

First script

MeFirstPython.py

The main beginner file in djangogirls/MeFirstPython.py—early Python practice with printing, lists, functions, input, conditionals, and loops.

File

Path
djangogirls/MeFirstPython.py
From
Django Girls / college exercises
Focus
Beginner syntax and terminal input

What this repo practices

Basics covered in the scripts.

Print & lists

Output values, store items in lists, and loop through them.

Input & conditionals

Read from the terminal and branch with if statements.

Functions

Define small functions and call them from the main script.

Repository

What is in this project.

  1. 01

    djangogirls/

    Python exercises from the Django Girls track and related notes.

  2. 02

    docs/

    This page—short overview of the repo on GitHub Pages.

  3. 03

    Run locally

    python3 djangogirls/MeFirstPython.py from the repo root.