Learn
🤖 AI Hub 📰 News 📖 Dictionary 🧰 Resources
Grow
💼 Jobs 🚀 Community 🏆 Challenges
Explore by Stage
🌑 Zero 📚 Learn 🔧 Practice 🏗 Build 🚀 Launch 💰 Earn
Account
Login Sign Up
🏗️HTML 🎨CSS ⚡JavaScript 🐙Git & GitHub ⚛️React Soon 📘TypeScript Soon 🐍Python 🗄️Database & SQL Soon 🌐Web Development Soon ☁️Cloud & DevOps Soon 🤖AI & ML Soon 📄Resume Prep Soon 🎤Interview Prep Soon 💼Freelancing Soon 🚀SaaS & Side Projects Soon 🤖Automation Soon
🐍

Python

From Python basics to machine learning.

All (14) Beginner (14) Intermediate (10) Advanced (8)
Lesson 1
What Is Python and Why Learn It?
Find out what a programming language is, what Python is used for and why it is great for beginners, then run y...
Lesson 2
Installing Python and VS Code, and Running Your First File
Install Python and VS Code on Windows, Mac or Linux, check that they work, try the interactive shell and run y...
Lesson 3
Your First Program: print() and Comments
Write your first Python programs with print(): show text and numbers, control spacing with sep and end, use es...
Lesson 4
Variables and Data Types: Storing Information
Learn to store information in Python variables, name them with snake_case, change their values, and use the ma...
Lesson 5
Numbers and Math: Bills, Discounts and Percentages
Learn Python arithmetic, floor division, remainders, powers, rounding and the math module, then build a restau...
Lesson 6
Strings: Working with Text and f-strings
Learn to create, slice, clean and search text in Python with string methods, and build neat messages with f-st...
Lesson 7
Taking Input: input() and Type Conversion
Ask the user questions with input(), convert the answers with int(), float(), str() and bool(), avoid the clas...
Lesson 8
Conditions: if, elif and else
Teach your Python programs to make decisions with if, elif and else, comparison operators and and, or, not. Yo...
Lesson 9
Loops: for, while and range()
Repeat work with Python for and while loops, count with range(), add up totals and control loops with break an...
Lesson 10
Lists: Storing Many Items in Order
Store many values in one Python list, read them by index and slice, add and remove items, sort them and loop w...
Lesson 11
Tuples and Sets: Fixed Data and Unique Items
Store fixed data in Python tuples, unpack them into variables, and use sets to remove duplicates and compare g...
Lesson 12
Dictionaries: Storing Data with Keys
Store data as key-value pairs in Python dictionaries, read values safely with get(), loop with items() and cou...
Lesson 13
Functions: Reusable Blocks of Code
Write your own Python functions with def, pass arguments, return results, use default and keyword arguments an...
Lesson 14
Project: Build a Number Guessing Game
Build a complete number guessing game in Python step by step, with random numbers, hints, an attempt limit, in...