Python
Python Basics
Start with the most beginner-friendly language there is, and use it to learn variables, strings, lists, conditions, loops and functions.
Start the trackFree, no sign-up needed
What you'll learn
- Your first programVariables, print and f-strings
- Strings and their methodsClean up text and slice it
- Numbers and conversionDivision, rounding and conversion
- ConditionalsBranching with if, elif and empty values
- Changing listsAdd, remove and copy
- The for loopVisit every item
- The while loopRepeat while a condition holds
- Writing functionsdef, return and parameters
- Dictionaries and keysLook up by key, not by position
- Tuples and setsUnpacking and unique values
Track contents
10 lessons, 2 hours in total- 1Your first programPythonVariables, print and f-strings8 min
- 2Strings and their methodsPythonClean up text and slice it12 min
- 3Numbers and conversionPythonDivision, rounding and conversion11 min
- 4ConditionalsPythonBranching with if, elif and empty values12 min
- 5Changing listsPythonAdd, remove and copy13 min
- 6The for loopPythonVisit every item13 min
- 7The while loopPythonRepeat while a condition holds12 min
- 8Writing functionsPythondef, return and parameters14 min
- 9Dictionaries and keysPythonLook up by key, not by position13 min
- 10Tuples and setsPythonUnpacking and unique values12 min
More Python tracks
All tracks- PyIntermediate
Data processing in Python
Learn to process real data in Python with comprehensions, dictionaries, sorting and counting.
10 lessons2 hours - PyAdvanced
Object-Oriented Python
Learn classes, special methods, inheritance and exceptions, and see how the libraries you use are built.
10 lessons2 hours