Skip to main content

Seed Programming

Online
7,500 /- PKR

About Program

Python Programming course is designed to take students from the fundamentals of Python to building interactive applications, games, and their first AI project. Students begin with variables, data types, input, conditions, loops, functions, lists, and dictionaries, while developing problem-solving skills through practical projects. They then explore Turtle Graphics to create drawings, patterns, and an interactive racing game, followed by Tkinter to build graphical applications such as calculators and student result systems. The course introduces Pygame through hands-on game development before progressing to the fundamentals of Artificial Intelligence.

Course Outline

Class 1: Getting Started with Python
Focus: Python Fundamentals | 2 hours | Completed
  • Understand what Python is and how a program runs; use print() for output.
  • Create variables and recognise int, float, str and bool values.
  • Take user input and convert it with int(), float() and str().
  • Display values inside readable messages using f-strings.
  • Make simple decisions using if, elif and else.
  • Use while True to repeat actions and combine concepts in interactive programs.
Project:

🧮 Interactive Calculator — Build an interactive calculator using input, variables, type conversion and conditional statements.

Class 2: Loops and Pattern Printing
Focus: Python Fundamentals | 2 hours
  • Trace a program one step at a time and follow changing variable values.
  • Write while loops using a condition and a counter.
  • Write for loops and use range() with start, stop and step.
  • Print counting sequences and multiplication tables.
  • Use totals, break and continue to control repetition.
  • Find and fix off-by-one errors and loops that never stop.
Project:

✖️ Custom Multiplication Table — Build a multiplication table in class and extend it in the assignment.

Class 3: Conditional Statements and Input Validation
Focus: Python Fundamentals | 2 hours
  • Use arithmetic, remainder and comparison operators in decisions.
  • Review if, elif and else and order conditions correctly.
  • Combine conditions using and, or and not.
  • Use a nested condition when one decision depends on another.
  • Validate numeric ranges and menu choices using conditions.
  • Combine conditions with loops in a program that can be used repeatedly.
Project:

📊 Student Result Calculator — Build in class and extend in the assignment.

Class 4: Problem Solving with Loops and Shapes
Focus: Python Fundamentals | 2 hours
  • Break a problem into steps before writing its loop.
  • Use counters and totals to solve repeated calculations.
  • Understand nested loops as rows and columns.
  • Print rectangles and right-angled triangles with nested loops.
  • Find factors of a number using a loop and the remainder operator.
  • Check whether a number is prime and trace boundary cases.
Project:

🔢 Prime Number Explorer — Build in class and extend in the assignment.

Class 5: Functions and Reusable Pattern Programs
Focus: Python Fundamentals | 2 hours
  • Explain why a repeated piece of code should become a function.
  • Define and call a function using def.
  • Pass arguments to parameters to change a function’s behaviour.
  • Return a value and distinguish return from print.
  • Break an application into small functions and trace their execution.
  • Reuse functions with nested loops to create shapes and a menu.
Project:

🧩 Pattern Printing Toolkit — Build in class and extend in the assignment.

Class 6: Lists, Dictionaries and Record Management
Focus: Python Fundamentals | 2 hours
  • Store several values in a list and access them using indexing and len().
  • Add and remove list items and traverse a list using a loop.
  • Find totals, averages, maximum and minimum values; search a list.
  • Store named values in dictionaries using keys and values.
  • Read, add, update and delete dictionary entries; loop through items().
  • Combine functions, lists and dictionaries in a small record manager.
Project:

📝 Student Marks Record Manager — Build in class and extend in the assignment.

Class 7: Turtle Graphics Basics
Focus: Turtle Graphics | 2 hours
  • Import turtle and create a screen and drawing turtle.
  • Move forward and backward and turn left and right.
  • Use angles and distances to draw simple shapes.
  • Set pen colour, thickness and drawing speed.
  • Use penup(), pendown() and goto() to position drawings.
  • Combine shapes into a small picture and keep the window open.
Project:

🏠 Turtle House Drawing — Build in class and extend in the assignment.

Class 8: Turtle Patterns with Loops and Functions
Focus: Turtle Graphics | 2 hours
  • Replace repeated drawing commands with for loops.
  • Rotate and repeat a shape to build a pattern.
  • Write drawing functions with size and position parameters.
  • Use screen coordinates to arrange several drawings.
  • Choose colours from a list inside a loop.
  • Change distance or angle gradually to produce a spiral.
Project:

🎨 Colourful Turtle Pattern Generator — Build in class and extend in the assignment.

Class 9: Interactive Turtle Racing Game
Focus: Turtle Graphics | 2 hours
  • Connect a key press to a function using screen events.
  • Control a practice turtle with arrow keys.
  • Import random and generate small random movement distances.
  • Create racers with a list and place them on separate lanes.
  • Animate a race in short steps using an ontimer() callback.
  • Detect the finish line, stop the race and announce a winner.
Project:

🏁 Turtle Racing Game — Build in class and extend in the assignment.

Class 10: Tkinter Windows and Widgets
Focus: Tkinter GUI Development | 2 hours
  • Explain what a graphical user interface is.
  • Import tkinter and create a window with a title and size.
  • Display text using Label widgets.
  • Accept text using Entry widgets.
  • Connect a Button to a small function using command.
  • Arrange widgets with pack() and keep the app running with mainloop().
Project:

👋 Personal Greeting App — Build in class and extend in the assignment.

Class 11: Tkinter Calculations and Validation
Focus: Tkinter GUI Development | 2 hours
  • Read Entry text and convert valid values to numbers.
  • Use a separate callback function for each operation.
  • Update result labels without opening another window.
  • Catch invalid numeric input using try and except ValueError.
  • Check empty fields with strip() and prevent division by zero.
  • Show feedback with message boxes and arrange controls using grid().
Project:

🧮 GUI Calculator — Build in class and extend in the assignment.

Class 12: Tkinter Student Result Application
Focus: Tkinter GUI Development | 2 hours
  • Plan the inputs, outputs and layout of a small application.
  • Group related widgets using frames.
  • Read several fields and validate the name and marks.
  • Reuse functions to calculate total, percentage and grade.
  • Show a complete result and reset the form for another student.
  • Test normal, boundary and invalid inputs and improve the interface.
Project:

📋 Student Result GUI App — Build in class and complete in the assignment.

Class 13: Pygame Window, Game Loop and Movement
Focus: Pygame | 2 hours
  • Import and initialise Pygame and create a titled game window.
  • Understand the event, update and draw stages of a game loop.
  • Process the close-window event and exit cleanly.
  • Draw a player using Rect and change the background colour.
  • Read keyboard input and move the player using coordinates.
  • Control the frame rate and keep the player inside the screen.
Project:

🎮 Keyboard Controlled Player — Build in class and extend in the assignment.

Class 14: Pygame Catch the Falling Object Game
Focus: Pygame | 2 hours
  • Move a falling object downward and respawn it at a random x position.
  • Detect a catch using rectangle collision.
  • Track and display the score using a font.
  • Reduce lives when an object is missed.
  • Switch between playing and game-over states.
  • Restart the game and test catches, misses and boundaries.
Project:

🍎 Catch the Falling Object — Build in class and complete in the assignment.

Class 15: Introduction to AI, Data and Learning
Focus: Introduction to AI with Python | 2 hours
  • Distinguish AI, machine learning and generative AI using familiar examples.
  • Compare fixed chatbot rules with a model that learns from examples.
  • Identify examples, numerical features and category labels in a dataset.
  • Explore the Iris flower dataset using a provided Python notebook.
  • Separate training and test examples before fitting a simple classifier.
  • Run a guided model example and interpret a predicted flower category.
Project:

🌸 First Flower Classifier — Build in class using a guided notebook.

Class 16: AI Flower Classification Mini Project
Focus: Introduction to AI with Python | 2 hours
  • Review the sequence from data and training to prediction and evaluation.
  • Train the classifier using the training split and a fixed random seed.
  • Predict labels for held-out test flowers.
  • Calculate test accuracy by comparing predictions with known labels.
  • Use four measurements in the correct order for a new prediction.
  • Explain model limits, responsible use and the project’s results.
Project:

🌺 Flower Classification Assistant — Build in class and submit as the final assignment.

Recorded Lectures will be uploaded here.

Lecture 01: Introduction to Python Basics
  • Understanding Python and how programs word
  • Using print() statements to display output
  • Introduction to variables and basic data types
  • Taking user input with nput()
  • Type conversion using int(), float(), and str()
  • Using formatted strings (f-strings)
  • Making decisions using if, elif, and else
  • Repeating actions using while True loops
  • Combining these concepts to write simple interactive programs

Homework 1