Foundations of Python Programming
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Foundations of Python Programming
This course is part of Python 3 from Beginner to Expert - Learn Python from Scratch Specialization
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Learn Python basics, including variables, operators, and functions.
Understand how to work with Python’s built-in data structures such as lists, tuples, and dictionaries.
Gain practical experience in building Python programs with conditionals, loops, and user input.
Master Python's advanced features like list comprehensions, generator expressions, and recursion.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 8 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this course, you will start by learning the fundamentals of Python programming. You will benefit from a solid understanding of Python syntax, including variables, operators, and data types, and you’ll quickly get hands-on experience working with Python scripts and functions. By working through practical exercises and examples, you’ll also become familiar with Python's role in solving real-world problems. As you progress, you’ll dive deeper into Python's more advanced features, such as conditional statements, loops, and data structures like lists, tuples, and dictionaries. The course takes you step-by-step through Python programming concepts, guiding you from basic syntax and operations to writing full-fledged Python programs, using conditional logic, loops, and list manipulation. This course is ideal for beginners in programming. No prior programming experience is required, but you should be ready to engage with code and complete hands-on exercises. The course is designed to develop practical skills that allow you to write Python scripts, understand key programming concepts, and solve real-world problems with Python. By the end of the course, you will be able to understand Python programming concepts, write Python code efficiently, use functions and libraries, perform data transformations, and debug your programs. You will also be capable of creating dynamic and interactive Python applications using loops, conditional logic, and complex data structures.
In this module, we will introduce the basic concepts of Python programming. You will learn how to set up your Python environment, write your first program, and work with variables, data types, and operators. Additionally, we will cover how to perform basic mathematical calculations and string manipulations.
What's included
10 videos1 reading
10 videos•Total 73 minutes
- Introduction to the Specialization•3 minutes
- What Is Python? Installation and First Execution•9 minutes
- Variables, Creating and Running External Script, Interactive Shell•14 minutes
- Comments•3 minutes
- Types of Variables•9 minutes
- Math Operators•10 minutes
- Exercise: Adding VAT to Products•8 minutes
- Semicolon and ENTER - Assigning Multiple Values to Variables at Once•5 minutes
- Assignment Operators•2 minutes
- Playing with Strings (Slicing, Adding, and Having Fun)•10 minutes
1 reading•Total 10 minutes
- Introduction to the Course 'Foundations of Python Programming'•10 minutes
In this module, we will explore how to import libraries and define functions in Python. You’ll learn how to leverage built-in libraries for additional functionality and how to take user input and perform type conversions to work with different data types.
What's included
3 videos1 assignment
3 videos•Total 28 minutes
- Importing Libraries, What Are Functions - Basics•11 minutes
- Important Video about Common Mistakes Regarding Functions•5 minutes
- Taking Data from User and Type Conversion (Casting)•12 minutes
1 assignment•Total 15 minutes
- Functions and Libraries Basics - Assessment•15 minutes
In this module, we will focus on conditional statements in Python, including relational and logical operators. You will learn how to control the flow of your program using "if" statements and logical operators, as well as create practical applications like a simple calculator and games.
What's included
5 videos1 assignment
5 videos•Total 40 minutes
- Comparison (Relational) Operators•5 minutes
- Instruction 'If' Why Indentation Is Important in Python•11 minutes
- Exercise: Simple Calculator•11 minutes
- Values Different than 0•3 minutes
- Logical Operators•10 minutes
1 assignment•Total 15 minutes
- Conditional Statements - Assessment•15 minutes
In this module, we will cover looping in Python, using both "while" and "for" loops. You’ll learn how to control loop behavior with "break" and "continue" statements and apply these skills in exercises such as a "Guess the Number" game and adding user input numbers.
What's included
5 videos1 assignment
5 videos•Total 41 minutes
- While Loop•6 minutes
- Exercise: Adding Numbers Taken from the User•8 minutes
- For Loop•6 minutes
- Instruction Break and Continue•11 minutes
- Exercise: Guess the Number•9 minutes
1 assignment•Total 15 minutes
- Loops - Assessment•15 minutes
In this module, we will explore lists in Python, from basic operations like creation and element access to more advanced list manipulations using functions. We will also tackle real-world scenarios like granting secret access through list operations.
What's included
4 videos1 assignment
4 videos•Total 31 minutes
- What Are Lists? Basic Operations on Lists•10 minutes
- Checking Whether Element Is 'in' or 'not in' the List•3 minutes
- Exercise: Giving Secret Access•6 minutes
- Operating on Lists with Functions•13 minutes
1 assignment•Total 15 minutes
- Lists - Assessment•15 minutes
In this module, we will dive deep into advanced Python data types, including tuples, sets, and dictionaries. You will learn how to work with nested structures and perform various operations on them, enhancing your ability to manage and manipulate data.
What's included
9 videos1 assignment
9 videos•Total 87 minutes
- Tuples - What Does Immutable Mean?•5 minutes
- Dictionaries•10 minutes
- Sets•7 minutes
- Operations on Sets•8 minutes
- Nested Types•13 minutes
- Processing Nested Types Using Loops•4 minutes
- Dictionary Inside Dictionary, Dictionary Inside List - When to Choose Which?•9 minutes
- Extracting (Iterating Through) Values from Nested Dictionaries•20 minutes
- Exercise: Dynamic Dictionary with Definitions•12 minutes
1 assignment•Total 15 minutes
- Advanced Types - Assessment•15 minutes
In this module, we will explore advanced data transformations in Python, such as list, set, and dictionary comprehensions. You will also learn how to use generator expressions for efficient memory usage while solving real-life problems like finding numbers divisible by 7 but not by 5.
What's included
5 videos1 assignment
5 videos•Total 49 minutes
- List Comprehensions•10 minutes
- Generator Expressions•12 minutes
- Dictionary Comprehension•14 minutes
- Set Comprehension•3 minutes
- Exercise: Finding Numbers That Are Divisible by 7, but Not Divisible by 5•10 minutes
1 assignment•Total 15 minutes
- Transformations - Assessment•15 minutes
In this module, we will focus on defining and working with functions in Python. You will learn how to pass multiple arguments to functions, return values from them, and understand why functions are essential for creating modular and reusable code.
What's included
3 videos1 reading3 assignments
3 videos•Total 28 minutes
- What Are functions? How to Create a Function? Why Should We Use Functions?•10 minutes
- Multiple Parameters in Function (Passing More Arguments)•5 minutes
- Returning Values from Function•12 minutes
1 reading•Total 10 minutes
- Conclusion to the Course 'Foundations of Python Programming'•10 minutes
3 assignments•Total 90 minutes
- Full Course Practice Assessment•15 minutes
- Functions - Assessment•15 minutes
- Full Course Assessment•60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Explore more from Software Development
- P
Packt
Course
- Status: Free Trial
Course
- Status: Free Trial
- Status: Free Trial
Course
Why people choose Coursera for their career
Frequently asked questions
Python is a widely used, high-level programming language known for its simplicity and readability. It’s an excellent choice for beginners due to its clear syntax and versatility. Python is relevant because it powers many industries, from web development to data science and artificial intelligence. As a general-purpose language, it is ideal for learning foundational programming concepts, which are transferable across different technologies.
The Foundations of Python Programming course covers the essential building blocks of Python programming. It starts with the basics, such as variables, operators, and comments, and progresses through concepts like functions, loops, lists, and more advanced data types. It’s designed for beginners who want to understand how Python works and build practical programming skills through exercises and real-world examples.
Upon completing this course, you'll be able to write basic Python programs, utilize Python's core features like loops and conditional statements, and work with different data structures such as lists, dictionaries, and sets. You’ll also be able to solve problems using Python, manipulate data types, and understand key concepts like functions, input/output, and basic debugging techniques.
More questions
Financial aid available,
