
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Learn the fundamentals of Python quickly through beginner-friendly lessons, coding exercises, and quizzes. Build problem-solving skills and confidence by completing mini-projects at your own pace with short videos.
Explore Python fundamentals by learning objects, variables, data types, strings, lists, dictionaries, conditionals, loops, functions, and modules, then build your first programs with user input and text output.
Install python on Windows via python.org, verify with python --version, and use idle for your first hello world. On Mac OS, install python three and verify in the terminal.
Install Microsoft Visual Studio Code on Windows and Mac using code.visualstudio.com. Create a dedicated project folder, such as FastTrack Python, and organize sections for the course.
Learn how Python treats every value as an object assigned to variables and supports strings, integers, floats, booleans, lists, and dictionaries, with rules for valid names and allowed characters.
See how Python creates objects and variables with the assignment statement, linking values to variables via the assignment operator. Explore dynamic typing, memory management, and simple expressions that compute results.
Explore immutable versus mutable objects in Python, including strings, integers, floats, booleans, lists, and dictionaries, and learn how shared references affect assignment and in-place changes.
Plan and build a complete Python program that prompts for a name, stores it in a variable, and prints a welcome message in the terminal.
Learn to use Python's built-in input function to display a prompt, read text from standard input, and assign the resulting string to a variable.
Create a custom welcome message with a formatted string using f-strings, substitute the variable into curly braces, and display the result on screen with the print function.
Open vs code, create a greet dot pi file in a new folder, and write comments that guide reading a name and displaying a welcome message in Python.
Write Python code that prompts for a name, reads input, stores it in name, builds a welcome message with an f-string, and prints it.
run your python program using the python interpreter from the terminal or VS Code, navigate to section three, and execute greet dot pi to see the welcome message.
Master strings as sequences of characters created by literals or str(), understand immutability, and apply concatenation with +, repetition with *, and format strings for clean composition.
Harness the built-in len() function to count items in strings, lists, and dictionaries, returning an integer. Empty strings yield zero, spaces count as characters, and integers raise a type error.
Explore zero-based indexing and negative indices to access string characters, and master slicing with start and end indices, default behaviors, and string immutability.
Explore how Python object methods operate on strings, lists, and dictionaries using the dot operator, with examples like string.upper and list.append. Learn when methods modify objects versus returning new values.
Explore how dir reveals all methods on an object and how help displays usage for a chosen method; practice with string, list, and dictionary methods, including string.title.
Explore essential string methods in Python, including lstrip, rstrip, strip, starts with, ends with, lower, upper, title, count, index, find, replace, split, join, and isalpha and isdigit, with practical examples.
Master escape sequences in Python strings to print quotes and backslashes, and to insert new lines and tabs using \n and \t, preventing syntax errors.
Explore integers, floats, and booleans in Python, learn literal assignments and conversions with int and float, and master arithmetic operators—addition, subtraction, multiplication, division, floor division, modulus, and exponent.
Explains compound assignment operators in Python, showing how plus equals, minus equals, times equals, divide equals, and modulus equals update a variable by applying the operation to its current value.
Explore the boolean data type, its true and false values, how booleans are created with literals and the bool function, and how the not, and, or operators work with examples.
Explore the none type in Python, using none as a placeholder and as a default return value. Learn to compare with none using is and is not.
Explore Python's comparison operators, operators that return booleans, including less than, greater than, less than or equal to, greater than or equal to, equal to, and not equal to, with length comparisons.
Explore the built-in function type to determine a Python object's type, using examples like string, int, float, and bool, and see how input is categorized.
Master type casting in Python by converting strings to integers and floats from user input, and by turning booleans, lists, and dictionaries into strings.
Learn python lists as ordered collections of objects written in square brackets, with indexing and negative indices, plus, asterisk, and membership checks using in.
Master list indexing and slicing in Python by using positive and negative indices to access elements and create sublists with start and end boundaries.
Learn how lists are mutable by changing elements via index and assignment, using a sample hobby list to replace 'sleeping' with 'reading' and print the updated list.
Explore how to expand lists using extend, insert, and append, with examples showing how elements are added, positions shift, and out-of-range inserts append to the end.
Learn to manipulate lists in Python fundamentals with pop and remove. Pop removes by index and returns the item; no index removes the last element, and remove deletes by value.
Represent matrices with nested lists in Python by forming a 3 by 3 matrix of rows and columns. Access elements by row then index, as shown with 5 and 7.
Learn essential Python list methods, including clear to empty a list, copy for independent duplication, and index, count, reverse, and sort to locate, tally, reverse order, and arrange elements.
Understand dictionaries in Python: curly braces store key-value pairs with immutable keys and any values; access with keys, check membership with in, and handle missing keys.
Explore creating, accessing, and mutating dictionary items in Python: retrieve values by keys, update age, add new keys like email, and safely handle missing keys with get and defaults.
Learn how to delete items from a dictionary using the delete keyword and the pop method, including using a second argument to handle missing keys and return a default value.
Explore dictionary methods such as clear, copy, keys, values, and items to manage and inspect key-value data, including how clear empties a dictionary and how copy creates a separate one.
Learn Python indentation and code blocks by mapping left-edge zero indentation to block levels, using four spaces or a tab per level, and applying indentation only in compound statements.
Explore how Python uses indentation to define compound statements—conditionals, loops, functions, and exceptions—with headers ending in a colon and bodies indented one level.
Compare python syntax with c, java, and javascript, highlighting python’s use of indentation for blocks, no curly braces or semicolons, and colon-based headers in conditional statements.
Learn Python conditionals using the if statement to run code when a test is true, including comparing x and y and printing results.
Apply if-else in Python to execute code when X is greater than Y or fall back to the else block when the condition fails, printing the corresponding message.
Master Python conditionals using if, elif, and else to test multiple conditions with example variables X and Y, printing outcomes like greater than, less than, or equal to.
Validate a word with is alpha, then use a nested conditional to print large, medium, or small based on its length, and print invalid word if not valid.
Explore how a while loop executes a code block while a boolean condition is true, and learn to avoid infinite loops by ensuring the body eventually makes the condition false.
Master the Python continue keyword in loops by learning how it skips the current block and rechecks the condition, illustrated with a while loop that prints only even numbers.
Use the Python break keyword to exit loops, demonstrated with a while true loop that validates user input with isAlpha to ensure the word contains only alphabets.
Master python for loops by visiting elements in iterables like lists and dictionaries, using for-in syntax, break, and handling keys, values, and items in dictionaries.
The built-in range function generates sequences of numbers in three formats: range(n), range(start, end), and range(start, end, step), with examples that show zero-based counting, end exclusion, and negative steps.
Master nested loops by traversing a 3x3 matrix and printing every element with a double for loop, first iterating rows then elements within each row.
Group duplicate statements into named functions using def, then call them with parentheses. Explore function structure, parameters, returns, and the terms parameters versus arguments with greet and add examples.
Kickstart your coding journey with a course that takes you from zero to writing Python code. Through clear explanations and hands-on exercises, you’ll master core concepts. From objects and variables to data types, loops and exception handling. No prior programming knowledge is required. All that is needed is your curiosity to learn and a weekend.
What You’ll Learn
Python Objects, Variables & Their Links
Data Types & Their Operators: integers, floats and booleans
Data Types & Their Methods: strings, lists and dictionaries
Built-in Functions
Conditional Statements for Decision Making: if, if..else, if..elif..else
Loop Structures: for and while loops
Defining and Using Functions
Exception Handling
Build Mini Projects
Quizzes to test your understanding
Challenges to test your problem solving
Who This Course Is For
Absolute beginners eager to learn coding
Professionals seeking a fast-track introduction to Python
Anyone who wants a solid foundation in Python
Prerequisites
No prior programming experience required
A computer with internet
About the Instructor
My name is Vasu Kotte, a full-stack developer with 15+ years of programming experience in C, JavaScript, Java, and Python. I’ve built real-world web applications, created automations in Python & PowerShell, and I’m passionate about making coding simple, practical, and fun for beginners. And I love teaching coding!