Start your Python journey by mastering the essentials of programming, from installing your tools to working confidently with core data types and control flow. Build a strong foundation in Python syntax, variables, functions, strings, and data structures to prepare for more advanced programming challenges.

Python Foundations: From Setup to Data Structures
Zum Labor Day gibt es bei Coursera Plus Rabatte von über 70 $. Sparen Sie 3 Monate lang 40 %.
kurs ist nicht verfügbar in Deutsch (Deutschland)

Python Foundations: From Setup to Data Structures
Dieser Kurs ist Teil von Spezialisierung „Learn to Code with Python“

Dozent: Packt - Course Instructors
Bei •Mehr erfahren enthalten
Empfohlene Erfahrung
Empfohlene Erfahrung
Was Sie lernen werden
Install and configure Python on macOS and Windows
Implement object-oriented programming using classes and inheritance
Create and manage variables, functions, and data types
Wichtige Details

Zu Ihrem LinkedIn-Profil hinzufügen
August 2026
20 Aufgaben
Erfahren Sie, wie Mitarbeiter führender Unternehmen gefragte Kompetenzen erwerben.

Erweitern Sie Ihre Fachkenntnisse
- Lernen Sie neue Konzepte von Branchenexperten
- Gewinnen Sie ein Grundverständnis bestimmter Themen oder Tools
- Erwerben Sie berufsrelevante Kompetenzen durch praktische Projekte
- Erwerben Sie ein Berufszertifikat zur Vorlage

In diesem Kurs gibt es 20 Module
This module provides an overview of the course structure, key objectives, and essential tools needed to learn Python. Learners will gain clarity on the skills they will develop and the overall learning journey. It sets the foundation for effective course engagement.
Das ist alles enthalten
1 Video1 Lektüre
1 Video•Insgesamt 2 Minuten
- Promo Video•2 Minuten
1 Lektüre•Insgesamt 10 Minuten
- Introduction to the Course 'Python Foundations: From Setup to Data Structures'•10 Minuten
This module guides learners through the foundational setup of Python programming on both macOS and Windows, covering installation of Python, Visual Studio Code, and essential development tools. It also introduces key concepts like the Python REPL and basic command-line usage. By the end, learners will be equipped to start coding confidently in a properly configured environment.
Das ist alles enthalten
15 Videos1 Aufgabe
15 Videos•Insgesamt 129 Minuten
- Welcome to the Python Programming Language•12 Minuten
- Download Course Files•4 Minuten
- macOS - Use the Terminal to Issue Commands to Your Operating System•10 Minuten
- macOS - Download and Install Python 3•9 Minuten
- macOS - Download and Install Visual Studio Code•2 Minuten
- Windows - Use the Command Prompt to Issue Commands to Your Operating System•10 Minuten
- Windows - Download and Install Python 3•7 Minuten
- Windows - Download and Install Visual Studio Code•3 Minuten
- macOS + Windows - Installing VSCode Plugins•6 Minuten
- macOS + Windows - Configuring VSCode Project Settings•13 Minuten
- macOS - Run Python File•9 Minuten
- Windows - Run Python File•10 Minuten
- The Visual Studio Code (VSCode) Interface and Helpful Shortcuts•13 Minuten
- The Interactive Prompt (REPL)•8 Minuten
- OPTIONAL: Words of Motivation•13 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Getting Started with Python and VS Code•16 Minuten
This module introduces foundational Python concepts including string manipulation, function definitions, and the use of the print function with various arguments and parameters. Learners will also explore coding practices such as adding comments and using documentation strings for clarity.
Das ist alles enthalten
7 Videos1 Aufgabe
7 Videos•Insgesamt 63 Minuten
- Objects: Strings•13 Minuten
- Intro to Functions•6 Minuten
- The print Function I: Outputting a Single Argument•8 Minuten
- The print Function II: Outputting Multiple Arguments•6 Minuten
- The print Function III: Parameters and Arguments•18 Minuten
- Comments•7 Minuten
- Coding Exercise SOLUTION: Outputting Text with the print Function•5 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Fundamentals of Strings and Print in Python•16 Minuten
This module covers fundamental Python data types, including numbers, booleans, and strings, along with essential operations such as arithmetic, comparison, and type conversion. Learners will gain practical skills in writing and evaluating logical expressions and using Python's built-in functions effectively.
Das ist alles enthalten
6 Videos1 Aufgabe
6 Videos•Insgesamt 55 Minuten
- Mathematical Expressions•11 Minuten
- Division, Floor Division, and the Modulo Operator•7 Minuten
- The Boolean Data Type, The Equality Operator (==) and Inequality Operator (!=)•15 Minuten
- Boolean Mathematical Operators•5 Minuten
- The type Function•9 Minuten
- Type Conversion with the int, float, and str Functions•9 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Fundamentals of Python Data Types and Operators•16 Minuten
This module introduces learners to the fundamentals of variables in Python, including declaration, assignment, input handling, and common error types. It provides practical coding exercises to reinforce understanding and build confidence in writing robust Python code.
Das ist alles enthalten
6 Videos1 Aufgabe
6 Videos•Insgesamt 54 Minuten
- Intro to Variables•15 Minuten
- Coding Exercise SOLUTION: Declaring Variables•4 Minuten
- Multiple Variable Assignments•5 Minuten
- Augmented Assignment Operator•7 Minuten
- Collecting User Input with the input Function•12 Minuten
- The NameError, ValueError, TypeError and SyntaxError Exceptions•11 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Python Variables User Input and Errors•16 Minuten
This module covers the fundamentals of functions in Python, including how to define, use, and structure functions for better code organization and reusability. Learners will explore parameters, return values, default arguments, and the None type, as well as bonus topics like function annotations. By the end, students will have the skills to write and manage functions effectively in their programs.
Das ist alles enthalten
9 Videos1 Aufgabe
9 Videos•Insgesamt 54 Minuten
- Intro to Functions•11 Minuten
- Parameters and Arguments•7 Minuten
- Positional Arguments and Keyword Arguments•6 Minuten
- Declaring Return Values for Functions•3 Minuten
- Coding Exercise SOLUTION: The Basics of Functions•5 Minuten
- Default Arguments•3 Minuten
- Coding Exercise SOLUTION: Default Arguments•7 Minuten
- The None Type•4 Minuten
- BONUS: Function Annotations•7 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Fundamentals of Python Functions•16 Minuten
This module introduces fundamental string operations in Python, including length, concatenation, immutability, indexing, slicing, escape characters, and substring checks. Learners will gain practical skills in manipulating and working with strings effectively.
Das ist alles enthalten
11 Videos1 Aufgabe
11 Videos•Insgesamt 81 Minuten
- Length, Concatenation, and Immutability•10 Minuten
- Coding Exercise SOLUTION: Length, Concatenation, and Immutability•4 Minuten
- String Indexing with Positive Values•9 Minuten
- String Indexing with Negative Values•3 Minuten
- Coding Exercise SOLUTION: String Indexing•4 Minuten
- String Slicing I: Slicing by Range•12 Minuten
- String Slicing II: Slicing by Steps•9 Minuten
- Coding Exercise SOLUTION: String Slicing•6 Minuten
- Escape Characters•10 Minuten
- The in and not in Operators for Checking Inclusion of a Substring within a String•6 Minuten
- Strings: The Basics Section Review•7 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Foundational Concepts in Python Strings•16 Minuten
This module covers essential string manipulation techniques in Python, including searching, modifying, formatting, and checking string properties. Learners will gain hands-on experience with methods like find, count, replace, and format, as well as understand string immutability and casing transformations.
Das ist alles enthalten
11 Videos1 Aufgabe
11 Videos•Insgesamt 67 Minuten
- The find and index Methods•10 Minuten
- The startswith and endswith Methods•5 Minuten
- The count Method to Count Occurrences of Value in a String•3 Minuten
- Coding Exercise SOLUTION: The find and count Methods•4 Minuten
- The capitalize, title, lower, upper, and swapcase Methods to Change Casing•7 Minuten
- Boolean Methods for Strings•8 Minuten
- The lstrip, rstrip, and strip Methods•6 Minuten
- The replace Method•4 Minuten
- Coding Exercise SOLUTION: String Cleanup Methods•3 Minuten
- The format Method•13 Minuten
- Formatted String Literals (f-strings)•4 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Essential Python String Methods and Techniques•16 Minuten
This module covers essential concepts in control flow, including conditional logic, boolean expressions, and looping structures. Learners will gain proficiency in using if, else, elif, and while statements, as well as understanding how to combine conditions with logical operators. The module also introduces the basics of recursion and how to apply these concepts in practical coding scenarios.
Das ist alles enthalten
17 Videos1 Aufgabe
17 Videos•Insgesamt 145 Minuten
- REVIEW: The Boolean Data Type, Equality, and Inequality•5 Minuten
- The if Statement•9 Minuten
- The bool Function (Truthiness and Falsiness)•7 Minuten
- Coding Exercise SOLUTION: if Statements•7 Minuten
- The else Statement•6 Minuten
- The elif Statement•11 Minuten
- Coding Exercise SOLUTION: if, else and elif•4 Minuten
- Conditional Expressions (Ternary Operator Equivalent)•5 Minuten
- Declaring Multiple Conditions with the and Keyword•7 Minuten
- Declaring Multiple Conditions with the or Keyword•5 Minuten
- Using the not Keyword to Negate an Expression•5 Minuten
- Nested if Statements•8 Minuten
- Coding Exercise SOLUTION: Multiple Conditions•4 Minuten
- Using the while Loop to Iterate While a Condition is True•15 Minuten
- A Brief Intro to Recursion I•18 Minuten
- A Brief Intro to Recursion II•16 Minuten
- Coding Exercise SOLUTION: Recursion•11 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Understanding Python Logic and Control Flow•16 Minuten
This module introduces learners to Python lists, covering their creation, indexing, slicing, and common operations. Through coding exercises and explanations, students will gain hands-on experience with list manipulation and problem-solving.
Das ist alles enthalten
8 Videos1 Aufgabe
8 Videos•Insgesamt 52 Minuten
- Intro to Lists•9 Minuten
- Coding Exercise SOLUTION: Creating Lists•4 Minuten
- The in and not in Operators on a List•7 Minuten
- Select a List Element by Positive or Negative Index Positions•8 Minuten
- Coding Exercise SOLUTION: Indexing into List•6 Minuten
- Slice Multiple Elements from a List•9 Minuten
- Coding Exercise SOLUTION: Slicing Elements•3 Minuten
- Coding Exercise SOLUTION: List Problems•6 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Fundamentals of Python Lists•16 Minuten
This module covers the fundamentals of iterating over lists in Python using for loops, conditional logic, and built-in functions like enumerate, reversed, and range. Learners will gain practical skills in controlling loop behavior with break and continue, and handling command-line arguments effectively.
Das ist alles enthalten
11 Videos1 Aufgabe
11 Videos•Insgesamt 95 Minuten
- Iteration with the For Loop•14 Minuten
- Coding Exercise SOLUTION: List Iteration•7 Minuten
- Iteration with Conditional Logic•13 Minuten
- Coding Exercise SOLUTION: More List Iteration•9 Minuten
- Iterate in Reverse with the reversed Function•8 Minuten
- The enumerate Function•10 Minuten
- Coding Exercise SOLUTION: The enumerate Function•7 Minuten
- The range Function•8 Minuten
- The break Keyword•6 Minuten
- The continue Keyword•5 Minuten
- Command Line Arguments with argv•8 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Working with Loops and Iterables in Python•16 Minuten
This module introduces essential debugging techniques in Visual Studio Code, focusing on navigating code execution, understanding variable scopes, and applying problem-solving strategies to resolve errors in Python programs.
Das ist alles enthalten
4 Videos1 Aufgabe
4 Videos•Insgesamt 42 Minuten
- Intro to Debugging in VSCode•11 Minuten
- Step Over•8 Minuten
- Step into and Step Out•7 Minuten
- Working Through a Problem•16 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Python Debugging with VS Code•16 Minuten
This module covers the fundamentals of list mutation in Python, including modifying elements, adding and removing items, and reordering lists. Learners will gain hands-on experience with list methods and slicing techniques to manipulate data effectively. The content also includes practical exercises to reinforce key concepts.
Das ist alles enthalten
17 Videos1 Aufgabe
17 Videos•Insgesamt 90 Minuten
- Assign New Value at Index Position•6 Minuten
- Assign New Values to List Slice•6 Minuten
- Coding Exercise SOLUTION: Overwriting Elements in a List•5 Minuten
- The append Method and Adding Lists with + Operator•5 Minuten
- Coding Exercise SOLUTION: Conditionals, Range, Enumerate•10 Minuten
- Building a List Up from Another List•12 Minuten
- Coding Exercise SOLUTION: Building a List Up•4 Minuten
- The extend Method•6 Minuten
- The insert Method•4 Minuten
- Coding Exercise SOLUTION: Adding Elements to List•5 Minuten
- The pop Method•5 Minuten
- The del Keyword•3 Minuten
- The remove Method•3 Minuten
- The clear Method•1 Minute
- Coding Exercise SOLUTION: Removing Elements from a List•8 Minuten
- The reverse Method•1 Minute
- The sort Method•6 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- List Mutation and Manipulation in Python•16 Minuten
This module focuses on mastering essential list methods in Python, including counting, indexing, copying, and manipulating strings with split and join. It also covers advanced topics like multidimensional lists, list comprehensions, and the zip function. Learners will gain hands-on experience through coding exercises and solutions, reinforcing their ability to work efficiently with data structures.
Das ist alles enthalten
13 Videos1 Aufgabe
13 Videos•Insgesamt 105 Minuten
- The count Method•4 Minuten
- The index Method•5 Minuten
- Coding Exercise SOLUTION: Encrypt Message•14 Minuten
- The copy Method•5 Minuten
- The split Method on a String•9 Minuten
- The join Method on a String•5 Minuten
- Coding Exercise SOLUTION: The split and join Methods on Strings•8 Minuten
- The zip Function•9 Minuten
- Multidimensional Lists•14 Minuten
- Coding Exercise SOLUTION: Multidimensional Lists•6 Minuten
- List Comprehensions I: The Basics•10 Minuten
- List Comprehensions II: Filtering Results•11 Minuten
- Coding Exercise SOLUTION: List Comprehension•6 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Understanding Lists and Iteration in Python•16 Minuten
This module covers essential Python built-in functions used for data manipulation, documentation lookup, and code efficiency. Learners will explore functions like map(), filter(), lambda, and others to process and transform data effectively. By the end, learners will be able to use these tools in practical coding scenarios.
Das ist alles enthalten
11 Videos1 Aufgabe
11 Videos•Insgesamt 60 Minuten
- The help Function•7 Minuten
- The map Function•7 Minuten
- The filter Function•4 Minuten
- Lambda Functions•8 Minuten
- Coding Exercise SOLUTION: map, filter and lambda Functions•9 Minuten
- The all and any Functions•4 Minuten
- The max and min Functions•2 Minuten
- The sum Function•1 Minute
- Coding Exercise SOLUTION: The sum Function•3 Minuten
- The dir Function•7 Minuten
- The format Function•8 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Essential Python Built-in Functions and Data Manipulation•16 Minuten
This module explores the fundamentals of tuples in Python, including their creation, comparison with lists, and techniques for unpacking and using them in functions. Learners will gain practical skills in working with immutable data structures and handling variable argument lists.
Das ist alles enthalten
8 Videos1 Aufgabe
8 Videos•Insgesamt 61 Minuten
- Intro to Tuples•8 Minuten
- Coding Exercise SOLUTION: Declare Tuples•3 Minuten
- Lists vs. Tuples•9 Minuten
- Unpacking a Tuple I: The Basics•9 Minuten
- Unpacking a Tuple II: Using * to Destructure Multiple Elements•10 Minuten
- Coding Exercise SOLUTION: Unpacking a Tuple•5 Minuten
- Variable Number of Function Arguments with *args•12 Minuten
- Unpacking Arguments to Functions•5 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Working with Tuples and Unpacking in Python•16 Minuten
This module explores fundamental concepts in Python such as variables, object references, and memory management. Learners will gain an understanding of how Python handles mutable and immutable types, equality checks, and object copying to prevent unintended side effects. The content equips learners with the knowledge to write more efficient and bug-free Python code.
Das ist alles enthalten
4 Videos1 Aufgabe
4 Videos•Insgesamt 22 Minuten
- Variables, Objects, and Garbage Collection•4 Minuten
- Shared References with Immutable and Mutable Types•4 Minuten
- Equality vs. Identity•5 Minuten
- Shallow and Deep Copies•9 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Python References Identity and Copying•16 Minuten
This module introduces the fundamentals of Python dictionaries, including how to create, access, update, and manipulate them. Learners will explore key operations such as using the get() method, checking for key existence, and working with nested structures. By the end, they will be able to effectively use dictionaries in real-world programming tasks.
Das ist alles enthalten
13 Videos1 Aufgabe
13 Videos•Insgesamt 101 Minuten
- Intro to Dictionaries•14 Minuten
- Coding Exercise SOLUTION: Create a Dictionary•4 Minuten
- Access a Dictionary Value by Key or the get Method•8 Minuten
- The in and not in Operators on a Dictionary•8 Minuten
- Add or Modify Key-Value Pair in Dictionary•16 Minuten
- The setdefault Method•4 Minuten
- Coding Exercise SOLUTION: Dictionaries from Lists•14 Minuten
- The pop Method•8 Minuten
- Coding Exercise SOLUTION: Inclusion and Removal•3 Minuten
- The clear Method•3 Minuten
- The update Method•4 Minuten
- The dict Function•3 Minuten
- Nested Dictionaries•12 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Working with Python Dictionaries•16 Minuten
This module covers advanced techniques for working with dictionaries in Python, including iteration methods, sorting, nested structures, and comprehensions. Learners will gain the ability to manipulate and process dictionary data efficiently, as well as handle dynamic argument passing using **kwargs. The module includes coding exercises and solutions to reinforce practical skills.
Das ist alles enthalten
14 Videos1 Aufgabe
14 Videos•Insgesamt 92 Minuten
- Iterate over a Dictionary with a for Loop•9 Minuten
- The items Method•6 Minuten
- Coding Exercise SOLUTION: The items Method•7 Minuten
- The keys and values Methods•7 Minuten
- Coding Exercise SOLUTION: The keys and values Methods•3 Minuten
- The sorted Function•5 Minuten
- Lists of Dictionaries•6 Minuten
- Coding Exercise SOLUTION: Nested Data Structures•4 Minuten
- Keyword Arguments (**kwargs)•15 Minuten
- Unpacking Argument Dictionary•6 Minuten
- Coding Exercise SOLUTION: Keyword Arguments•4 Minuten
- Dictionary Comprehensions I•9 Minuten
- Dictionary Comprehensions II•5 Minuten
- Coding Exercise SOLUTION: Dictionary Comprehensions•7 Minuten
1 Aufgabe•Insgesamt 16 Minuten
- Python Dictionary Operations and Techniques•16 Minuten
This module provides an in-depth exploration of Python sets, covering their creation, manipulation, and use in data operations. Learners will gain hands-on experience with set methods and understand how sets differ from other data structures. The content emphasizes practical applications and problem-solving with sets.
Das ist alles enthalten
11 Videos1 Lektüre2 Aufgaben
11 Videos•Insgesamt 53 Minuten
- Intro to Sets•14 Minuten
- The set Function•6 Minuten
- Coding Exercise SOLUTION: Set Basics•4 Minuten
- The add and update Methods•3 Minuten
- The remove and discard Methods•3 Minuten
- The intersection Method to Identify Common Elements between Sets•4 Minuten
- The union Method to Combine Elements from Two Sets•2 Minuten
- The difference Method to Identify Unique Elements in One Set•3 Minuten
- The symmetric_difference Method to Identify Elements Not in Common Between Two Sets•3 Minuten
- The issubset and issuperset Method•6 Minuten
- The frozenset Object•4 Minuten
1 Lektüre•Insgesamt 10 Minuten
- Conclusion to the Course 'Python Foundations: From Setup to Data Structures'•10 Minuten
2 Aufgaben•Insgesamt 92 Minuten
- Working with Python Sets•16 Minuten
- Python Programming Foundations: From Setup to Data Structures Final Assessment•76 Minuten
Erwerben Sie ein Karrierezertifikat.
Fügen Sie dieses Zeugnis Ihrem LinkedIn-Profil, Lebenslauf oder CV hinzu. Teilen Sie sie in Social Media und in Ihrer Leistungsbeurteilung.
Dozent

von
Mehr von Software Development entdecken
Warum entscheiden sich Menschen für Coursera für ihre Karriere?

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.

Nutzen Sie mit unserem Labor-Day-Angebot mehr als 10.000 Programme


Beginnen Sie mit einfachen Einsparungsmöglichkeiten für hart arbeitende Teams

Häufig gestellte Fragen
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is currently available only to learners who have paid or received financial aid, when available.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
Weitere Fragen
Finanzielle Unterstützung verfügbar,


