

Usikker på hvor
starte?
Track
Certifikat!
Python from Zero to Hero
4.7+
★★★★★
★★★★★
284 anmeld.
Beginner
After completing this track, you will be able to write basic Python code, understand its syntax, and set up a Python development environment. You'll have the skills to start your programming journey and build a strong foundation for further learning.
python
Boost your Tech Skills!
with up to 55% off
What you'll get with our subscription:
Access to 85+ top-rated courses
AI-driven Learning
Workspaces for practicing your skills
Personalized study tracks
Certificates of completion
Training 2 or more people?
Get your team access to Codefinity courses anytime, anywhere.
Try Codefinity TeamsWhat you will learn
- Master the basics of Python: syntax, variables, and data types
- Learn to work with conditional statements and loops
- Understand Python data structures: lists, tuples, dictionaries, and sets
- Learn to write and use functions to organize code
- Explore how to use Python for data processing and task automation
- 183 chapters
- 17 hours
- 168 tasks
Trusted by employees of leading companies
Learning track content
Module 1 / Introduction to Python
Dive into the basics of Python, explore your workspace, and perform simple math operations. Learn how to write readable code using comments and handle both basic and advanced mathematical expressions while displaying your results.
Learn how to store and manage data in Python by working with numbers, text, and variables. Understand how to assign values, follow naming conventions, and explore different data types. Gain hands-on experience with string operations, indexing, slicing, and memory recall techniques to efficiently manipulate text in Python.
- How to Store Numbers in PythonForhåndsvisning
- Python Naming Rules for VariablesForhåndsvisning
- How to Work with Variables in PythonForhåndsvisning
- Data Types in PythonForhåndsvisning
- Challenge: Converting Kilometers to MilesForhåndsvisning
- Store Text with Strings in PythonForhåndsvisning
- String Indexing in PythonForhåndsvisning
- String Slicing in PythonForhåndsvisning
- Challenge: Retrieving Letters from StringForhåndsvisning
- String Concatenation in PythonForhåndsvisning
Learn how to use comparison and logical operators, work with conditional expressions, and apply membership and type comparisons. Build a strong foundation in writing programs that respond dynamically to different conditions using if/else and if/elif/else structures.
- Boolean Data Type in PythonForhåndsvisning
- Challenge: Working with Comparison OperatorsForhåndsvisning
- How to Combine Conditions in PythonForhåndsvisning
- Challenge: Working with Logical OperatorsForhåndsvisning
- Membership Operators and Type Comparisons in PythonForhåndsvisning
- How to Use if/else Expressions in PythonForhåndsvisning
- Challenge: Running a Grocery StoreForhåndsvisning
- Challenge: Creating Odd and Even LogicForhåndsvisning
- if/elif/else ExpressionsForhåndsvisning
- Challenge: Running Grocery Store ExtendedForhåndsvisning
- Challenge: Weather AdviserForhåndsvisning
Expand your understanding of data types by learning how to group multiple attributes within a single variable. Explore lists, tuples, and dictionaries to efficiently store and manage structured data, along with essential methods for manipulation and retrieval.
- Python ListsForhåndsvisning
- Common List Methods in PythonForhåndsvisning
- Challenge: Updating ListForhåndsvisning
- Nested Lists in PythonForhåndsvisning
- Challenge: Retrieving Information from Nested ListForhåndsvisning
- Python TuplesForhåndsvisning
- Common Tuple Methods in PythonForhåndsvisning
- Challenge: Updating TupleForhåndsvisning
- Nested Tuples in PythonForhåndsvisning
- Challenge: Retrieving Information from Nested TupleForhåndsvisning
- Python DictionariesForhåndsvisning
- Challenge: Creating DictionaryForhåndsvisning
- Common Dictionary Methods in PythonForhåndsvisning
- Challenge: Updating DictionaryForhåndsvisning
Master the art of writing loops in Python—essential constructs for iterating over lists, tuples, dictionaries, and other data structures. Learn to use while and for loops effectively, explore the range function, and work with nested loops to handle complex iteration patterns.
- Explore the while Loop in PythonForhåndsvisning
- Challenge: Working with the While LoopForhåndsvisning
- Explore the for Loop in PythonForhåndsvisning
- Challenge: Working with the For LoopForhåndsvisning
- Range Function in PythonForhåndsvisning
- Challenge: Using the Range FunctionForhåndsvisning
- How to Iterate Over Indexes in PythonForhåndsvisning
- Explore Nested Loops in PythonForhåndsvisning
Explore essential built-in functions in Python and take the next step by creating your own. Learn how to define functions, use conditional logic, modify existing functions, and work with lambda expressions to write efficient, reusable code.
- Built-in Functions in PythonForhåndsvisning
- Challenge: Converting HeightsForhåndsvisning
- How to Create Functions in PythonForhåndsvisning
- Challenge: Writing First FunctionForhåndsvisning
- Use of if/else Statements in Python FunctionsForhåndsvisning
- Challenge: Identifying Positive ValuesForhåndsvisning
- Functions Without Return in PythonForhåndsvisning
- Challenge: Creating Logging FunctionForhåndsvisning
- Modifying Functions in PythonForhåndsvisning
- Challenge: Updating Logic of the FunctionForhåndsvisning
- Lambda Functions in PythonForhåndsvisning
- Challenge: Creating Lambda FunctionForhåndsvisning
Module 2 / Data Types in Python
Numeric data types are crucial in Python, so it is important to start with them. Here you will work with simple math operations and find out the purposes of learning different types of numerical data.
- Understanding Numerical Data Types in PythonForhåndsvisning
- Mutable or Immutable?Forhåndsvisning
- Mastering Integer Numbers in PythonForhåndsvisning
- Fundamentals of Basic Math Operations in PythonForhåndsvisning
- Deep Dive into Advanced Math Techniques in PythonForhåndsvisning
- Challenge: Time Calculation in PythonForhåndsvisning
- How to Define a TypeForhåndsvisning
Mastering boolean data types and logical operations in Python. You'll learn how to work with True and False, apply logical operators like and, or, and not, and understand how operator precedence works in complex expressions.
- Introduction to Boolean Data TypeForhåndsvisning
- Challenge: Practice with Logical StatementsForhåndsvisning
- Python Logical OperatorsForhåndsvisning
- Challenge: Boosting Logical SkillsForhåndsvisning
- Challenge: The Not StatementForhåndsvisning
- Challenge: Logical StatementsForhåndsvisning
- PrioritiesForhåndsvisning
Strings are an essential part of Python programming, allowing you to work with text data. In this section, you'll learn how to manipulate strings, extract characters, slice words, and search for specific phrases.
- Print Your StringForhåndsvisning
- Quotation MarksForhåndsvisning
- String Indexing in PythonForhåndsvisning
- Slice the WordForhåndsvisning
- Negative IndexationForhåndsvisning
- Slice the PhraseForhåndsvisning
- Slicing TaskForhåndsvisning
- How to Find the String LengthForhåndsvisning
- Get the Index of the SymbolForhåndsvisning
- Find the Word IndexForhåndsvisning
- Challenge: Slicing with Index FunctionForhåndsvisning
- Is String Mutable?Forhåndsvisning
- Merge StringsForhåndsvisning
This chapter consists of practical tasks that combine all the examined topics together with a bit of theory.
Module 3 / Python Data Structures
What is a list? A list is an ordered collection that can be modified. It also allows for duplicate elements.
- Creating Lists in Python: Declaring and Initializing ListsForhåndsvisning
- List Indexing in Python: Accessing Elements EfficientlyForhåndsvisning
- Working with Nested Lists in PythonForhåndsvisning
- Python List Length: Measuring and Managing List SizeForhåndsvisning
- Modifying Lists in Python: Updating and Changing ElementsForhåndsvisning
- Using the append() Method: Adding Elements to ListsForhåndsvisning
- Using the insert() Method: Placing Elements at Specific PositionsForhåndsvisning
- Deleting Elements in Python Lists: Removing Items SafelyForhåndsvisning
- Using the remove() Method: Deleting Specific Elements from ListsForhåndsvisning
What is a dictionary? A dictionary is an ordered collection that can be changed, but it doesn't allow duplicate entries. It consists of `key:value` pairs, which are used to optimize its structure.
- Creating a Dictionary in Python: Storing Key-Value PairsForhåndsvisning
- Accessing Dictionary ValuesForhåndsvisning
- Accessing Dictionary KeysForhåndsvisning
- Adding Items to a Dictionary: Updating Key-Value PairsForhåndsvisning
- Using the del Keyword: Removing Dictionary EntriesForhåndsvisning
- Using the pop() Method: Deleting Elements with Return ValuesForhåndsvisning
- Using the popitem() Method: Removing the Last Inserted ItemForhåndsvisning
- Using the clear() Method: Emptying a Dictionary CompletelyForhåndsvisning
What is a tuple? A tuple is an ordered collection that cannot be altered. It can have duplicate elements. While it's similar to a list, the values in a tuple can be of any type and are indexed by integers. Although not mandatory, it's common to enclose the values of a tuple in parentheses, making them easier to understand in Python.
- Creating a Tuple in Python: Defining Immutable Data StructuresForhåndsvisning
- Accessing Elements in a Tuple: Indexing TechniqueForhåndsvisning
- Concatenating Tuples in Python: Merging Immutable SequencesForhåndsvisning
- Deleting Tuples in Python: Removing References to TuplesForhåndsvisning
- Updating Tuples in PythonForhåndsvisning
- Adding Items to a Tuple: Alternative Approaches Using ListsForhåndsvisning
- Counting Elements in a Tuple: Using the count() MethodForhåndsvisning
- Finding Elements in a Tuple: Using the index() Method for LookupForhåndsvisning
What is a set? In Python, a `set` is an unordered collection that is both `iterable` and `mutable`, with no repeated elements. While the order of items in a set isn't fixed, it can include a variety of elements. A key benefit of using sets over lists is their highly efficient method for determining if an element exists within the set.
- Creating a Set in Python: Defining Unordered CollectionsForhåndsvisning
- Using the add() Method: Adding Single Elements to a SetForhåndsvisning
- Using the update() Method: Merging Multiple Elements into a SetForhåndsvisning
- Accessing Elements in a Set: Iteration and Membership TestingForhåndsvisning
- Using the remove() and discard() MethodsForhåndsvisning
- Using the clear() Method: Removing All Elements from a SetForhåndsvisning
Module 4 / Conditional Statements in Python
You'll unravel the mysteries of the versatile conditional operator "if," discovering its power to shape outcomes. Dive deeper into the world of logical operators, mastering their artful application and uncovering the secrets of prioritizing their use effectively.
Learn how to make decisions based on conditions, simplify code using the else keyword, improving both efficiency and readability. Unlock the efficiency of one-liner decisions with the ternary operator!
- Python if-else Statement SyntaxForhåndsvisning
- Challenge: Tracking Step Goal Progress with if-else StatementsForhåndsvisning
- Challenge: Debugging and Improving a Hydration Reminder CodeForhåndsvisning
- Using Conditional Expressions in PythonForhåndsvisning
- Challenge: Implementing a Password Checker with if-else LogicForhåndsvisning
You will learn about the most advanced form of the conditional operator if-elif-else, get acquainted with the syntax of this construction and how it is applied correctly.
Module 5 / Python Loops Tutorial
Master how to iterate through sequences with for loop, use range() effectively, explore conditions with if/else, and control loops with break and continue. Get ready to write efficient, clean, and practical code as you tackle fun challenges!
Get hands-on experience with the while loop! Learn how to handle conditions, avoid infinite loops, control flow with break and continue, and even combine else with your loops. Master when to use while loops effectively in real-world scenarios and sharpen your problem-solving skills!
Learn how to combine loops effectively, use if/else conditions, and master break and continue statements to control flow. By the end, you'll be able to solve complex problems with ease and precision.
Streamline your Python code with list and dictionary comprehensions! Learn how to create lists and dictionaries in a concise and elegant way while improving readability and performance. Master practical examples and discover how to simplify complex tasks, from filtering data to transforming it, all in a single line of code.
Module 6 / Python Functions Tutorial
We will consider what a function in Python and some basic techniques used to create functions is: what are the arguments of the function, what is the return value of the function, what is the body of the function, and how to use the function in the code.
Learn how to define functions in Python using positional and optional arguments. Master the flexibility of creating functions that adapt to different input scenarios.
Learn to work with arbitrary arguments and keyword arguments in Python to handle variable numbers of inputs. Understand how arbitrary arguments manage flexible positional inputs and how keyword arguments organize named arguments into a dictionary for efficient function design.
The return value of a function is the direct result of the execution of the function, which we can use in the program. There are several types of function return values - we will consider the most commonly used.
Explore the power of recursion and lambda functions in Python. Understand how recursion allows a function to call itself for solving complex problems, and how lambda functions provide a concise way to define anonymous functions for simple tasks.
Requirements
- A computer with a browser - all browsers are supported.
- Your enthusiasm to enhance your tech skills.
- Everything else needed to start learning and practicing is already included in this course.
Over 200,000 5-star ratings and counting
Ruslan Kravchuk
Det vigtigste er at lære og ikke give op
Materialet er godt, der er meget at lære for at blive bedre, og det vigtigste er at lære det, du ønsker....
Matteo Comune
Takket være dem lærer jeg meget…
Takket være dem lærer jeg meget hurtigere, fordi de hjælper dig med at forstå alt fra bunden. Det er den bedste hjemmeside for folk uden IT-erfaring...
Yuliana Cadavid
fantastisk kursus for begyndere
fantastisk kursus for begyndere, som tester din viden i hver lektion...
Elpunzon
Jeg nyder min Codefinity-oplevelse…
Jeg nyder at lære Python med Codefinity. Den selvstyrede læringsmetode er fantastisk, fordi jeg kan tilpasse den min tidsplan...
Alexandru Alexandru
Det er rart at lære fra Codefinity
Det er rart at lære fra Codefinity. Det er nemt og har gode eksempler på, hvad jeg har lært her...
jacob Templet
Easy to follow along with and provides…
Let at følge med og giver daglige udfordringer. Udfordringen motiverer mig til at lære dag efter dag...
Elan
Codefinity er et omfattende læringsværktøj…
Codefinity er et omfattende læringsværktøj, der hjælper dig med at udvikle dine færdigheder som softwareingeniør eller datavidenskabsmand. Øvelserne er sjove og en god måde at finpudse dine evner på...
Thibault
Første gang jeg lærer at kode
Første gang jeg lærer at kode og lykkes med det hos Codefinity - tak...
Adrien Morel
Godt designet til totale begyndere
Godt designet til totale begyndere, med trinvis progression, der giver mig selvtillid....
_Gracy
det er simpelthen fuldstændig velforklaret
det er simpelthen fuldstændig velforklaret! Indtil videre har jeg ikke oplevet nogen problemer, fordi alt er så godt organiseret...
Ruslan Kravchuk
Det vigtigste er at lære og ikke give op
Materialet er godt, der er meget at lære for at blive bedre, og det vigtigste er at lære det, du ønsker....
Matteo Comune
Takket være dem lærer jeg meget…
Takket være dem lærer jeg meget hurtigere, fordi de hjælper dig med at forstå alt fra bunden. Det er den bedste hjemmeside for folk uden IT-erfaring...
Yuliana Cadavid
fantastisk kursus for begyndere
fantastisk kursus for begyndere, som tester din viden i hver lektion...
Elpunzon
Jeg nyder min Codefinity-oplevelse…
Jeg nyder at lære Python med Codefinity. Den selvstyrede læringsmetode er fantastisk, fordi jeg kan tilpasse den min tidsplan...
Alexandru Alexandru
Det er rart at lære fra Codefinity
Det er rart at lære fra Codefinity. Det er nemt og har gode eksempler på, hvad jeg har lært her...
jacob Templet
Easy to follow along with and provides…
Let at følge med og giver daglige udfordringer. Udfordringen motiverer mig til at lære dag efter dag...
Elan
Codefinity er et omfattende læringsværktøj…
Codefinity er et omfattende læringsværktøj, der hjælper dig med at udvikle dine færdigheder som softwareingeniør eller datavidenskabsmand. Øvelserne er sjove og en god måde at finpudse dine evner på...
Thibault
Første gang jeg lærer at kode
Første gang jeg lærer at kode og lykkes med det hos Codefinity - tak...
Adrien Morel
Godt designet til totale begyndere
Godt designet til totale begyndere, med trinvis progression, der giver mig selvtillid....
_Gracy
det er simpelthen fuldstændig velforklaret
det er simpelthen fuldstændig velforklaret! Indtil videre har jeg ikke oplevet nogen problemer, fordi alt er så godt organiseret...
Data Engineer
Certifikat for fuldførelse
Fremvis dine nyligt opnåede færdigheder. Du har fortjent det
Discover more
Learning tracks
Kun for Ultimate
1 Kursus
1 Projekt
0 Task
Kun for Ultimate
7 Kurser
345 Opgaver
Kun for Ultimate
5 Kurser
119 Opgaver
Kun for Ultimate
5 Kurser
146 Opgaver
Kun for Ultimate
4 Kurser
115 Opgaver
Kun for Ultimate
6 Kurser
101 Opgaver
Kun for Ultimate
5 Kurser
135 Opgaver
Kun for Ultimate
2 Kurser
1 Projekt
57 Opgaver
Kun for Ultimate
7 Kurser
376 Opgaver
Kun for Ultimate
4 Kurser
143 Opgaver
Kun for Ultimate
5 Kurser
180 Opgaver
Kun for Ultimate
5 Kurser
165 Opgaver
Kun for Ultimate
6 Kurser
308 Opgaver
Kun for Ultimate
6 Kurser
252 Opgaver
Kun for Ultimate
8 Kurser
2 Projekter
176 Opgaver
Kun for Ultimate
2 Kurser
80 Opgaver
Kun for Ultimate
7 Kurser
293 Opgaver
Kun for Ultimate
1 Projekt
0 Task
Kun for Ultimate
2 Kurser
21 Opgaver
Kun for Ultimate
5 Kurser
111 Opgaver
Kun for Ultimate
2 Kurser
0 Task
Kun for Ultimate
3 Kurser
39 Opgaver
Kun for Ultimate
13 Kurser
555 Opgaver
Kun for Ultimate
13 Kurser
555 Opgaver
Kun for Ultimate
1 Kursus
0 Task
Kun for Ultimate
0 Task
Kun for Ultimate
5 Kurser
139 Opgaver
Kun for Ultimate
3 Kurser
71 Opgaver
Kun for Ultimate
7 Kurser
282 Opgaver
Kun for Ultimate
5 Kurser
239 Opgaver
Kun for Ultimate
4 Kurser
125 Opgaver
Kun for Ultimate
2 Kurser
33 Opgaver
Kun for Ultimate
3 Kurser
119 Opgaver
Kun for Ultimate
1 Kursus
15 Opgaver
Kun for Ultimate
3 Kurser
75 Opgaver
Kun for Ultimate
3 Kurser
31 Opgaver
Kun for Ultimate
2 Kurser
151 Opgaver
Kun for Ultimate
3 Kurser
56 Opgaver
Kun for Ultimate
2 Kurser
1 Projekt
38 Opgaver
Kun for Ultimate
3 Kurser
36 Opgaver
Kun for Ultimate
2 Kurser
1 Projekt
38 Opgaver
Kun for Ultimate
5 Kurser
134 Opgaver
Learning tracks
spor
TEST TRACK 12
Begynder
4.0
(7146)
spor
Full Stack Web Development
Begynder
4.5
(58)
spor
Become a React Developer
Mellemniveau
4.9
(7)
spor
Mastering Data Visualization
Mellemniveau
4.6
(7)
spor
SQL from Zero to Hero
Begynder
4.7
(93)
spor
С++ Essentials
Begynder
4.4
(17)
spor
Supervised Machine Learning
Mellemniveau
4.9
(7)
spor
Python Beyond Intermediate
Begynder
5.0
(1)
spor
Java Essentials
Begynder
4.3
(9)
spor
Game Development with Unity
Begynder
4.6
(7)
spor
Become a Django Developer
Avanceret
4.4
(27)
spor
Flask for Dummies
Mellemniveau
4.5
(31)
spor
Frontend Development Foundations
Begynder
4.6
(52)
spor
Web Developer from Zero to Hero
Begynder
4.6
(56)
spor
Preparation for Data Science
Mellemniveau
4.5
(11)
spor
Deep Learning Odyssey
Avanceret
5.0
(3)
spor
Web Development with C#
Begynder
4.8
(98)
spor
TEST E2E TRACK BEGINNER
Begynder
spor
Test Track
Begginer
4.7
(3)
spor
Skilled Python BackEnd Developer
Avanceret
4.7
(261)
spor
Test Recalculate
Begynder
spor
Excel Essentials
Begynder
4.5
(33)
spor
Full-Stack .NET Developer Journey
Mellemniveau
4.8
(129)
spor
Full-Stack .NET Developer Journey
Mellemniveau
4.8
(129)
spor
Test track with rating
Avanceret
4.0
(4)
spor
TEST TEST TRACK
Begynder
spor
Data Analyst Foundation
Begynder
4.7
(111)
spor
C++ Mastery
Avanceret
spor
Java Web
Avanceret
4.5
(30)
spor
Become a QA Engineer
Begynder
4.5
(43)
spor
Video Production with Adobe
Begynder
spor
Digital Marketing Essentials
Begynder
spor
UI/UX Design Tools
Begynder
spor
Test image upload track
Begynder
spor
Essential Office Skills
Begynder
4.6
(24)
spor
GitHub from Zero to Hero
Begynder
spor
No-Code Website Development
Begynder
spor
C Programming & Low-Level Development
Begynder
spor
testes
Begynder
4.7
(3)
spor
Test translation track
Mellemniveau
spor
Test CMS Track
Begynder
4.7
(3)
spor
Python for Data Analysis
Mellemniveau
4.6
(9)
Become a Development expert
Interactive exercises
Learning videos
AI-assistant on all courses
Workspaces for designing your own projects
Ready to get started?
ProBest intro offer | UltimateA complete experience to kickstart your career | |
---|---|---|
85+ Top-Rated courses | ||
Completion certificates | ||
AI-Assistant in all courses | ||
20+ hands-on Real-world projects | ||
Personalized study tracks | ||
Unlimited workspaces | ||
Boost your Tech Skills!
with up to 55% off
What you'll get with our subscription:
Access to 85+ top-rated courses
AI-driven Learning
Workspaces for practicing your skills
Personalized study tracks
Certificates of completion
Training 2 or more people?
Get your team access to Codefinity courses anytime, anywhere.
Try Codefinity Teams