
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Discover how variables work in Python as containers that store any data type you assign. This introduction explains what a variable is in Python and how it stores data.
Master Python variable naming rules: use lowercase text only, avoid digits or spaces, and never mix numbers with text in a variable name.
Identify and understand Python keywords as built-in elements with specific meanings, and learn why you cannot use these keywords as variable names, as doing so raises errors.
Demonstrates how the print function outputs data to the console, accepts number and type of arguments, and converts them to a readable form, with examples of strings, integers, and variables.
Create variables following text-only naming rules, use the equals sign to store data, and create strings with either single or double quotes, while recognizing integers as numeric data.
This lecture demonstrates that in python basics, multiplying a string by an integer replicates the string rather than producing a numeric product, shown when the string is printed seven times.
Explore python concatenation by storing a string in a and an integer in B; adding them raises an error. Concatenate to form 77, but multiplying strings also raises an error.
Explore booleans and not equal to operator in Python by comparing A and B, where A not equal to B yields false. Print result with print function to display false.
Demonstrate Python's comparison operators by detailing the equal operator (==) and the not equal operator, and show how these basics power expressions in code.
Explore the two comparison operators in Python—the greater-than and less-than—and see how to compare values stored in variables with a simple example.
Learn how Python compares numbers using the greater than and less than operators with a=10 and b=5, storing results in c and printing true or false.
Explore combining equality with less than and greater than operators in Python to create less than or equal to and greater than or equal to comparisons and print booleans.
Learn how Python uses if statements as conditionals, create variables a and b with values 10 and 6, and print a result when a > b, illustrating the if block.
Compare A and B with an if A > B condition and print yes when true; use an else statement to print no when false.
Demonstrate Python looping with a while loop using a true condition, showing that it prints the okay string indefinitely and that indentation defines the loop body.
Demonstrates constructing a while loop in Python. Initializes a variable to 4, prints it while a > 1, and decrements by one until the condition fails.
Explore how a Python for loop uses the range function to generate five numbers (0 through 4), assigns each to a temporary variable, and prints it with indentation.
Explore for loops with the range function generating five values from 0 to 4, printing a name five times; you can omit the loop variable inside the body.
Explore the range() function with a start of 1 and stop of 5, and how a for loop prints 1 to 4, since 5 is not included.
Demonstrates the range function with start, stop, and step in a for loop, producing 1 and 3, then updates b from 6 to 18 and prints 18.
Explore how the break statement halts a Python for loop using range until i equals two. Observe 0 and 1 printing before the loop stops at 2.
Learn how the continue statement differs from break inside a Python for loop. See a range function example where i equals two triggers continue and prints 0, 1, and 3.
Build a while loop with an else branch in Python, using variables a and b, decrementing a until a is not greater than b, printing each step.
Explore the list data type in Python, enabling you to store multiple values—integers and strings—within a single variable, expanding beyond single-value variables introduced earlier.
Create a list data type in Python by using the assignment operator to store strings and integers in brackets; print the list and verify its type is list.
Learn to create a Python list and access elements using indices, starting at zero. See how indexing retrieves the first, second, and third elements—strings and an integer—from the list.
Learn how to use negative indexing in Python to access list elements from the end, such as city, five, and name by negative indices.
learn how to create a list in Python, assign elements, and use len to count them, then iterate with a for loop to print each element.
Explore Python lists by using append to add elements at the end and insert to place items at a chosen index. See examples with strings and integers.
Modify a list by replacing the element at index zero with a new string, then print the updated list. Use the len function to confirm the list contains three elements.
Learn to swap elements in a Python list by exchanging values at indices 0 and 2, using a values list with name and city, and verify with print.
Explore Python tuples, a sequence data type that stores multiple values and can be iterated with for loops. Learn two creation styles, with or without parentheses, though parentheses aid clarity.
Learn how to create one-element tuples in Python, including correct syntax with a trailing comma, and how tuples can store multiple data types like strings, lists, and integers.
Understand that tuples are immutable in Python and cannot be modified after creation, so indexing, assignment, delete, or append operations raise errors.
Access elements via indexing and concatenate tuples to form new ones, printing results with an alphabet example; learn that concatenating a tuple with a string or integer raises an error.
Create a tuple named alphabet, multiply it by two to yield eight elements, then print, measure length, test in and not in, and loop to display each element.
Explore Python dictionaries, a non-sequence datatype created with curly braces and colon separated key-value pairs, where keys are unique and values can be data types, but lists cannot be keys.
Create a Python dictionary of city and country pairs and access values by key via indexing. Print results like New York or USA, noting that keys are case sensitive.
Dictionaries are mutable; the example updates the city value from New York to Washington, adds a planet key with earth, and prints the updated dictionary.
Remove a key-value pair from a dictionary using the del keyword, removing the country key and USA, then print shows only city: New York.
Explore how the values method converts a dictionary into a sequence, iterating with for loops to print values like New York and USA in Python basics.
Create a dictionary named info and remove the city: New York pair with the pop item method, leaving country: USA. The del keyword removes a specific key-value pair you choose.
Apply the update method to insert a new key-value pair into a dictionary and print the updated dictionary, demonstrating state, city, and country entries.
Explore how built-in Python functions like print, type, and len work, and learn how to create your own functions.
Learn how to define and invoke a Python function, using a valid name, parentheses, and indentation, and understand function reuse and the importance of not shadowing the function name.
Define a function with a parameter named direction, pass an argument such as left to print a directional message, and learn that omitting an argument causes an error.
Explore keyword arguments in Python. Assign values to named parameters like name and number in a function.
Define a function with predefined parameters name and number, invoke it with or without arguments, and see outputs like my name is David and my number is 234432.
Explore using the return keyword inside a Python function to return a string based on a name parameter, then display it by storing the result or printing the function call.
Explore how the none type differs from booleans in Python, store None in variables, and return or print results through functions and conditional statements.
This content is a snippet from my intermediate level python course called Mastering Intermediate Python: Dive Deeper into the Language
This content is a snippet from my intermediate level python course called Mastering Intermediate Python: Dive Deeper into the Language
Learn how a subclass inherits a method from a superclass and overrides it to customize behavior, using info calling func to display object one or object two.
Completely new to programming? Want to learn Python the right way from scratch?
This course is designed for absolute beginners who want to start coding confidently, even if you’ve never written a single line of code before. You’ll learn step-by-step, with hands-on exercises, mini-projects, and clear explanations that make Python easy to understand.
Python is one of the most in-demand programming languages today, used in web development, automation, data analysis, machine learning, cybersecurity, and software development. The best part? Python is beginner-friendly and fun to learn — and this course will get you building real programs from day one.
Why This Course Is Different:
Hands-on projects that reinforce every concept
Step-by-step explanations without confusing jargon
Practical skills you can apply immediately
Beginner-friendly pace that builds confidence
By the end of this course, you’ll be able to write Python programs, solve problems, and continue learning more advanced topics with confidence.
Who This Course Is For:
Absolute beginners who want to start coding
Students preparing for computer science or programming careers
Hobbyists wanting to automate tasks or explore Python
Career switchers entering tech or software development
What You’ll Learn:
Set up Python and write your first programs confidently
Understand variables, data types, loops, and functions
Work with strings, lists, dictionaries, sets, and tuples
Control programs using conditions and loops
Create and use functions correctly
Build beginner-friendly projects to apply your skills
Practice coding with quizzes, exercises, and challenges
Requirements:
No prior coding experience needed
A computer (Windows, Mac, or Linux)
Motivation to learn and practice
-Start Learning Python Today
Enroll now and start your journey to becoming a confident Python programmer. Build practical skills, complete beginner-friendly projects, and enjoy hands-on learning every step of the way.