
Welcome to your Python programming journey with Coderboy!
In this first lesson, we'll discover what Python is and why it's one of the most popular programming languages in the world.
You'll learn how Python can be used to create games, drawings, interactive programs, and much more. We'll also look at a simple Python program and see what happens when we run it.
What you'll learn:
What Python is and how it works
What we can create using Python
How a simple Python program runs
No coding experience needed. Let's get started!
Before we start coding, let's explore where we'll write our Python programs!
In this lesson, Coderboy will introduce you to the Python code editor and show you how to use it.
You'll discover where to type your code, how to run a program, and where to see the results.
What you'll learn:
What a Python code editor is
How to use the code area
How to run Python code
How to read the output of your program
By the end of this lesson, you'll be familiar with the editor we'll use throughout the course.
Have you ever wondered how a computer knows what to do?
In this lesson, we'll learn what a computer program is and how Python follows instructions to complete tasks.
Coderboy will explain how a program is made up of instructions and how Python normally executes them step by step, from top to bottom.
What you'll learn:
What a computer program is
How computers follow instructions
How Python executes code step by step
Why the order of instructions matters
This lesson will help you understand how programs work before you start writing your own.
It's time to write your first Python program!
In this lesson, you'll learn how to use the print() function to display text on the screen.
Coderboy will guide you through writing your first Python instruction, using parentheses and quotation marks correctly, and running your code in the Python editor to see the output.
What you'll learn:
What the print() function does in Python
How to write your first Python instruction
How to use parentheses with print()
How to put text inside quotation marks
How to run your code and see the output
Try it yourself: Use the Python editor to display two messages: "Hello" and "My name is Coderboy".
By the end of this lesson, you'll have written and run your first Python program!
Let's learn how Python remembers information!
In this lesson, you'll discover what variables are and how they help us store information in Python programs.
Coderboy will explain how to create variables, assign values using the equals sign (=), and display stored information using the print() function. You'll also learn how to change a variable's value.
What you'll learn:
What variables are and why we use them
How to create variables in Python
How to store values using the equals sign (=)
How to display variable values using print()
How to update the value stored in a variable
Try it yourself: Create a variable to store your name, display it using print(), and then change its value.
By the end of this lesson, you'll understand how to create and use variables in your Python programs!
Did you know Python treats numbers and text differently?
In this lesson, you'll explore two important Python data types: numbers and strings.
Coderboy will explain how numbers are used for calculations, how strings represent text, and why quotation marks matter. You'll also discover what happens when you try to add a number directly to a string.
What you'll learn:
What numbers and strings are in Python
How numbers and strings are different
Why strings are written inside quotation marks
How to display numbers and strings using print()
How Python performs calculations with numbers
Why adding a string directly to a number causes an error
Try it yourself: Use print() to display a number, a string, and the result of a simple mathematical calculation.
By the end of this lesson, you'll understand the difference between numbers and strings and how Python works with them!
Let's turn Python into a calculator!
In this lesson, you'll learn how to perform basic mathematical calculations using Python.
Coderboy will introduce the four basic math operators: addition, subtraction, multiplication, and division. You'll also learn how to use these operators inside print() and perform calculations with variables.
What you'll learn:
How to add numbers using +
How to subtract numbers using -
How to multiply numbers using *
How to divide numbers using /
Why division produces decimal results
How to perform calculations using variables
Try it yourself: Create two number variables and use Python to display their sum, difference, product, and division result.
By the end of this lesson, you'll be able to perform basic mathematical calculations using Python!
Ready to explore more ways to do math with Python?
In this lesson, you'll learn how to find remainders, calculate powers, and understand how Python decides which mathematical operation to perform first.
Coderboy will explain how to use the remainder operator (%), the power operator (**), and parentheses to control the order of calculations.
What you'll learn:
How to find the remainder using %
How to calculate powers using **
What expressions like 2 ** 5 mean
How Python follows the order of operations
How parentheses change the result of a calculation
How to write mathematical expressions with multiple operators
By the end of this lesson, you'll understand how to use more Python math operators and control the order of calculations!
Let's make our Python programs interactive!
In this lesson, you'll learn how to use the input() function to ask users questions and receive their answers.
Coderboy will explain how the input() function works, how to store user responses in variables, and how to use those responses in your Python programs.
What you'll learn:
What the input() function does in Python
How to ask users questions using input()
How Python receives and stores user responses
How to save user input in a variable
How to display user responses using print()
Try it yourself: Create a Python program that asks for your name and displays a greeting using your answer.
By the end of this lesson, you'll be able to create simple Python programs that interact with users!
Did you know that Python treats user input as text, even when someone types a number?
In this lesson, you'll learn how to convert text into numbers using the int() function so you can perform mathematical calculations with user input.
Coderboy will explain why the input() function returns a string, what happens when you try to add a number to a string, and how to fix this using int().
What you'll learn:
Why input() always returns a string
The difference between text and numbers in user input
Why adding a string directly to a number causes an error
How to convert text into an integer using int()
How to perform mathematical calculations with user input
How to create a simple program using a user's name and age
Try it yourself: Create a Python program that asks for your name and age, then displays how old you'll be next year.
By the end of this lesson, you'll understand how to convert user input into numbers and use it in calculations!
Let's teach Python how to make decisions!
In this lesson, you'll learn how to use the if statement to make your Python programs respond to different conditions.
Coderboy will explain how Python checks whether a condition is true or false, when an if statement runs, and why indentation is important when writing conditional code.
What you'll learn:
What an if statement is in Python
How Python checks conditions
How to use the greater than or equal to (>=) operator
What happens when a condition is true or false
What indentation means in Python
Why indentation is important inside an if statement
Try it yourself: Write a Python program that checks whether a person's age is 10 or above and displays a message when the condition is true.
By the end of this lesson, you'll understand how to use conditions to control which instructions Python executes!
Ready to make your Python programs handle different situations?
In this lesson, you'll learn how to use if, elif, and else to check multiple conditions and make decisions in Python.
Coderboy will explain how these conditional statements work together and introduce comparison operators that help Python compare values.
What you'll learn:
How the else statement works in Python
How to use elif to check additional conditions
How Python chooses between different conditions
How to compare values using == and !=
How to use comparison operators like >, <, >=, and <=
How to combine if, elif, and else to control program behavior
Try it yourself: Create a Python program that asks for a number and displays whether it is greater than, less than, or equal to 10.
By the end of this lesson, you'll be able to write Python programs that make different decisions based on multiple conditions!
Let's learn how to make Python repeat instructions!
In this lesson, you'll discover how for loops help us repeat code without writing the same instructions again and again.
Coderboy will explain how to create a for loop, use the range() function, and understand how Python counts from zero. You'll also learn how the loop variable changes each time the loop runs.
What you'll learn:
What loops are and why we use them
How for loops repeat instructions
How to use the range() function
Why Python starts counting from zero
How the loop variable i changes during each repetition
How loops help us write shorter and more efficient programs
Try it yourself: Write a for loop that displays "Hello" five times, then modify it to display the numbers 0 to 4.
By the end of this lesson, you'll understand how to use for loops to repeat instructions in Python!
What if you want Python to keep repeating something until a condition changes?
In this lesson, you'll learn how to use while loops to repeat instructions as long as a condition remains true.
Coderboy will explain how a while loop works using a simple counting example. You'll discover how to update a variable during each repetition and why it's important to make sure your loop eventually stops.
What you'll learn:
What a while loop is in Python
How while loops repeat code based on a condition
How to create and update a counting variable
How Python checks conditions during each repetition
Why a while loop stops when its condition becomes false
What infinite loops are and how they happen
The difference between for loops and while loops
Try it yourself: Create a while loop that starts counting from 1 and displays numbers up to 5.
By the end of this lesson, you'll understand how to control repetition in Python using while loops!
Let's discover some useful tricks for working with text in Python!
In this lesson, you'll learn how to join strings, repeat text, and count the number of characters in a string.
Coderboy will explain how the plus sign (+) combines strings, how the multiplication operator (*) repeats text, and how the len() function finds the length of a string.
What you'll learn:
What strings are in Python
How to join strings using +
How string concatenation works
How to repeat strings using *
How to find the length of a string using len()
How Python counts letters, spaces, and symbols in strings
Try it yourself: Join "Coder" and "boy" into one string, repeat "Hello" three times, and use len() to count the characters in "Coderboy".
By the end of this lesson, you'll be able to use simple string operations to work with text in Python!
What if you want to store several values together in Python?
In this lesson, you'll learn how to use lists to organize and manage multiple values under one variable name.
Coderboy will explain how to create lists using square brackets, access individual items using their positions, add new items with append(), and use a for loop to go through a list.
What you'll learn:
What lists are and why we use them
How to create lists using square brackets []
How to separate list items using commas
Why list indexing starts from zero
How to access individual items in a list
How to add new items using append()
How to use a for loop to go through list items
Try it yourself: Create a list of three favorite colors, display the first color, add another color using append(), and use a for loop to display all the colors.
By the end of this lesson, you'll understand how to store, access, and work with multiple values using Python lists!
Let's add some surprises to our Python programs!
In this lesson, you'll learn how to generate random numbers and make random selections using Python.
Coderboy will introduce the random module and explain how to use random.randint() to generate random whole numbers and random.choice() to select an item from a list.
What you'll learn:
What random values mean in Python
What the random module does
Why we use import random
How to generate random integers using random.randint()
How to select random items using random.choice()
How to choose a random item from a Python list
How randomness can make programs more interactive and unpredictable
Try it yourself: Write a program that generates a random number between 1 and 6, then create a list of colors and use random.choice() to select one randomly.
By the end of this lesson, you'll know how to add random numbers and choices to your Python programs!
Let's build your first creative Python project!
In this lesson, you'll create an interactive Greeting Story that asks users for their name, age, and favorite color, then uses their answers to display a personalized story.
Coderboy will show you how to combine Python concepts you've already learned, including input(), variables, int(), if, elif, else, and print(), to create a complete program.
What you'll learn:
How to build a simple interactive Python project
How to ask users questions using input()
How to store user responses in variables
How to convert age into a number using int()
How to use if, elif, and else to make decisions
How to display a personalized greeting story using print()
How different Python concepts work together in one program
Try it yourself: Build the Greeting Story with Coderboy, then change the story messages to create your own version.
By the end of this lesson, you'll have created a complete interactive Python story using the programming skills you've learned!
Ready to build your own Python guessing game?
In this lesson, you'll create a Number Guessing Game where Python secretly selects a number between 1 and 10, and the player tries to guess it.
Coderboy will show you how to use the random module to generate a secret number, collect the player's guess using input(), convert it into a number with int(), and check whether the guess is too high, too low, or correct using conditional statements.
What you'll learn:
How to build a simple Number Guessing Game in Python
How to use import random and random.randint()
How to ask players for their guesses using input()
How to convert the player's answer into a number using int()
How to compare the player's guess with the secret number
How to use if, elif, and else to check different outcomes
How to display messages based on the player's guess
Try it yourself: Build the Number Guessing Game with Coderboy, then change the random number range from 1–10 to 1–20 and test your game again.
By the end of this lesson, you'll have created your own Python guessing game using random numbers and conditional statements!
Let's build a classic Rock Paper Scissors game using Python!
In this lesson, you'll create an interactive game where you play Rock Paper Scissors against the computer.
Coderboy will show you how to store the three moves in a list, use random.choice() to select the computer's move, collect the player's choice using input(), and decide the winner using if, elif, and else statements.
What you'll learn:
How to build a Rock Paper Scissors game in Python
How to store game choices in a list
How to use random.choice() to select a computer move
How to collect the player's move using input()
How to compare the player's choice with the computer's choice
How to use if, elif, and else to apply the game rules
How to check whether the player wins, loses, or ties
Try it yourself: Build the Rock Paper Scissors game with Coderboy, then play several rounds to see how the computer's random choices affect the results.
By the end of this lesson, you'll have created your own Rock Paper Scissors game and learned how Python can make decisions using game rules!
Let's create funny stories using Python!
In this lesson, you'll build a Mad Libs Story Generator that asks users for different words and uses their answers to create a personalized story.
Coderboy will show you how to use input() to collect words, store them in variables, and combine strings using the plus sign (+) to create a complete story. You'll also discover how the same program can produce different stories based on the user's answers.
What you'll learn:
What a Mad Libs story is and how it works
How to ask users for words using input()
How to store user responses in variables
How to use strings to create story text
How to join strings and variables using +
How to build an interactive story generator in Python
Try it yourself: Build the Mad Libs Story Generator with Coderboy, then change the story sentences and questions to create your own funny story.
By the end of this lesson, you'll have created a Python program that generates different stories using user input!
Let's build a calculator using Python!
In this lesson, you'll create a Simple Calculator that asks users for two numbers and a mathematical operation, then calculates and displays the result.
Coderboy will show you how to collect numbers using input(), convert them into integers using int(), store values in variables, and use if, elif, and else to perform the selected calculation.
What you'll learn:
How to build a simple calculator in Python
How to ask users for two numbers using input()
How to convert user input into numbers using int()
How to store numbers and mathematical operations in variables
How to use if, elif, and else to select an operation
How to perform addition, subtraction, multiplication, and division
Why division can produce decimal results
Try it yourself: Build the calculator with Coderboy, then test it using different numbers and mathematical operations.
By the end of this lesson, you'll have created your own working Python calculator using the programming concepts you've learned!
Let's make Python calculate multiplication tables for us!
In this lesson, you'll create a Multiplication Table Generator that asks users for a number and displays its multiplication table from 1 to 10.
Coderboy will show you how to collect a number using input(), convert it into an integer using int(), and use a for loop with range(1, 11) to repeat multiplication calculations automatically.
What you'll learn:
How to build a multiplication table program in Python
How to ask users for a number using input()
How to convert user input into a number using int()
How to use a for loop to repeat calculations
How range(1, 11) generates numbers from 1 to 10
How to multiply numbers using the * operator
How to generate different multiplication tables using the same program
Try it yourself: Build the Multiplication Table Generator with Coderboy, then enter different numbers to display their multiplication tables.
By the end of this lesson, you'll understand how to combine loops, user input, and mathematical operations to create a useful Python program!
Let's build your own interactive Quiz Game using Python!
In this lesson, you'll create a quiz game that asks questions, checks the player's answers, and keeps track of their score.
Coderboy will show you how to organize questions and answers using lists, use a for loop to ask each question, collect responses with input(), and check answers using if and else. You'll also learn how to use a score variable to count correct answers.
What you'll learn:
How to build an interactive Quiz Game in Python
How to store questions and answers using lists inside a list
How to use item[0] and item[1] to access questions and answers
How to use a for loop to ask questions one by one
How to collect player answers using input()
How to check correct and incorrect answers using if and else
How to use a variable to track the player's score
How lists, loops, variables, and conditions work together in a game
Try it yourself: Build the Quiz Game with Coderboy, then change the questions and answers to create your own quiz on a topic you enjoy.
By the end of this lesson, you'll have created an interactive Python quiz game that checks answers and keeps score!
Let's build a simple Password Strength Checker using Python!
In this lesson, you'll create a program that asks users to enter a password and displays a message based on the number of characters it contains.
Coderboy will show you how to collect a password using input(), store it in a variable, count its characters using len(), and use if, elif, and else to classify the password as Very Weak, Okay, or Strong based on its length.
What you'll learn:
How to build a basic Password Strength Checker in Python
How to collect a password using input()
How to store the password in a variable
How to count characters using len()
How to check passwords with fewer than 5 characters
How to check passwords with fewer than 8 characters
How to use if, elif, and else to display different results
How to create a simple password length-checking program
Try it yourself: Build the Password Strength Checker with Coderboy, then test it using different example passwords to see how their lengths affect the results. Avoid entering real passwords.
By the end of this lesson, you'll have created a Python program that evaluates password length using conditional statements!
Note: This is a beginner programming exercise that checks password length only. A longer password is not necessarily secure.
Ready to build your biggest Python game yet?
In this final project, you'll create a two-player Tic-Tac-Toe game where X and O take turns placing their marks on a 3×3 board. The game checks for winning combinations and determines whether a player wins or the game ends in a tie.
Coderboy will show you how to combine lists, functions, loops, conditions, and user input to build a complete game. You'll learn how to display the board, manage player turns, check winning combinations, and stop the game when a winner is found.
What you'll learn:
How to build a Tic-Tac-Toe game using Python
How to create a 3×3 game board using a list
How to work with nine board positions and Python's zero-based indexing
How to use functions such as mark(), show(), and clear() to organize the game
How to use str() to convert numbers into text
How to store the eight possible winning combinations using WIN_LINES
How to collect player moves using input() and convert them with int()
Why we subtract 1 from the player's selected position
How to use loops and conditions to manage turns and check for a winner
How break stops the game and how a for loop's else can handle a tie
How to switch between players X and O
Try it yourself: Build the Tic-Tac-Toe game with Coderboy, play a few rounds with a friend, and test different winning combinations and tie situations.
By the end of this lesson, you'll have built a complete two-player Tic-Tac-Toe game and brought together many of the Python skills you've learned throughout the course!
Important: This course is intended for purchase by adults. Learners under 18 may use it only through a Udemy account that a parent or guardian opens and manages, including enrollment and supervision of their learning.
Learn Python Programming with Coderboy: From Your First Line of Code to Your Own Games!
Want to learn Python but don't know where to start? This beginner-friendly course makes learning programming simple, practical, and enjoyable.
Whether you're learning Python for the first time, or you're a parent or teacher looking for a clear, project-based course to guide others through, this course is designed to make getting started easy.
Join Coderboy as you learn Python step by step, from basic programming concepts to building interactive games and projects.
What You'll Learn
You'll begin by understanding how Python works and writing your first lines of code. As you progress, you'll explore essential programming concepts, including:
Python Basics: Understand programs, write Python instructions, and use the print() function.
Variables and Data Types: Store information, work with numbers and strings, and perform mathematical calculations.
User Input: Make interactive programs using input() and int().
Conditional Statements: Use if, elif, and else to make decisions.
Loops: Repeat instructions using for and while loops.
Strings and Lists: Work with text, organize information, and access list items.
Random Numbers: Use Python's random module to add surprises to programs and games.
Build 9 Python Projects
Learning Python becomes more meaningful when you use it to build something. Throughout the course, you'll follow Coderboy to create nine practical projects:
Interactive Greeting Story
Number Guessing Game
Rock Paper Scissors Game
Mad Libs Story Generator
Simple Calculator
Multiplication Table Generator
Interactive Quiz Game with Scoring
Password Length Checker
Tic-Tac-Toe Game
Each project demonstrates how Python concepts work together to create a functional program.
How This Course Works
The course includes 26 short, easy-to-follow video lessons. You'll start with simple examples and gradually move toward more interactive projects. You'll also have opportunities to practice your understanding through quizzes and coding challenges. The final Tic-Tac-Toe project brings together many of the programming skills introduced throughout the course.
Who Is This Course For?
Complete beginners who want to learn Python programming from scratch.
Parents and guardians who want to guide their children through Python lessons, using a Udemy account they open and manage.
Teachers and homeschool educators looking for beginner-friendly Python projects and coding activities.
Anyone who prefers simple explanations and learning by building real projects.
What Do You Need?
You don't need any previous programming knowledge. All you need is a computer, an internet connection, and an interest in learning Python.
Start coding with Coderboy and discover how to turn simple Python instructions into your own games and interactive programs!