VOOZH about

URL: https://www.coursera.org/learn/packt-python-programming-foundations-j4fge

⇱ Python Programming Foundations | Coursera


Python Programming Foundations

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Master Python’s syntax and basic functionality to write simple programs.

  • Build control flow structures using loops and conditionals to solve problems.

  • Develop reusable code by creating functions and handling variable scopes.

  • Work with data structures like lists and apply Python’s powerful slicing techniques.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

April 2026

Assessments

10 assignments

Taught in English

Build your subject-matter expertise

This course is part of the The Complete Python and Data Science Bootcamp Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • 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 9 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. This Python Programming Foundations course offers a comprehensive journey from the basics of Python syntax to advanced data structures and problem-solving techniques. Whether you’re just starting or looking to enhance your skills, this course is designed to take you step by step through Python’s key features, including control flow, loops, functions, and lists. As you work through each module, you’ll gain the confidence to write Python programs and develop a strong foundation for further learning. The course structure progresses from learning simple syntax and functions to building more complex programs using loops, conditionals, and object-oriented concepts. You’ll explore practical coding exercises and a capstone project using Turtle Graphics to apply everything you've learned. As you develop your understanding of Python, you'll build problem-solving skills and learn how to structure efficient, reusable code. You’ll also become familiar with tools like PyCharm, which will enhance your development environment. It is ideal for beginners with little to no prior programming experience, those transitioning into Python for data science, and anyone looking to strengthen their foundational Python knowledge. The course is accessible to anyone willing to learn and eager to explore the world of programming, making it perfect for aspiring data scientists, developers, or hobbyists. By the end of the course, you will be able to confidently write Python programs, implement loops, work with functions, manipulate lists, and execute object-oriented principles. You'll also be ready to dive deeper into more advanced topics in Python programming.

In this module, we will introduce the course structure and provide an overview of the key concepts covered in Python Programming Foundations. You will learn what to expect from this course and the exciting journey ahead as you explore Python and its applications in data science.

What's included

1 video2 readings

1 videoTotal 1 minute
  • Introduction to the Specialization1 minute
2 readingsTotal 20 minutes
  • Introduction to the Course 'Python Programming Foundations'10 minutes
  • Full Specialization Resources10 minutes

In this module, we will dive into Python’s foundational concepts. You'll explore its basic syntax, program structure, data types, and operations, laying the groundwork for more advanced topics. We will also cover how to use Python interactively and set up your development environment with PyCharm.

What's included

17 videos1 assignment

17 videosTotal 105 minutes
  • Introduction to Python Basics1 minute
  • First Steps in Python and the Python Programming Language Structure5 minutes
  • Python Program Structure: Input and Output12 minutes
  • Indentation and Code Blocks11 minutes
  • Using the Python Interpreter8 minutes
  • More Details on the Print Function9 minutes
  • Basic Data Types in Python5 minutes
  • Numerical Operations3 minutes
  • Assignment and Incremental Assignment9 minutes
  • Multiple Assignments6 minutes
  • Variable Names, Snake Case, Camel Case4 minutes
  • Keywords and Our First Import Statement3 minutes
  • Escape Sequences5 minutes
  • Data Type Conversions4 minutes
  • Substrings and Slicing8 minutes
  • Multiline Strings and Docstrings5 minutes
  • Installing and Introducing PyCharm6 minutes
1 assignmentTotal 15 minutes
  • Foundations - Assessment15 minutes

In this module, we will introduce the concept of control flow and how Python uses conditionals for decision-making. You will learn to write if statements, use logical operators, and create complex and nested conditions to manage program behavior.

What's included

4 videos1 assignment

4 videosTotal 32 minutes
  • Introduction to Control Flow and Conditionals0 minutes
  • If Statement and Logical Operators17 minutes
  • Complex Conditions5 minutes
  • Nested If Statements10 minutes
1 assignmentTotal 15 minutes
  • Control Flow and Conditional Statements - Assessment15 minutes

In this module, we will focus on loops, a crucial concept for automating repetitive tasks in Python. You will learn how to implement for and while loops, break out of loops, and use the range() function to handle sequences effectively.

What's included

11 videos1 assignment

11 videosTotal 55 minutes
  • Introducing Loops1 minute
  • For Loops Using Range10 minutes
  • General For Loops Using Range7 minutes
  • Looping over Lists and Tuples7 minutes
  • Prime Numbers and Breaking Out of Loops4 minutes
  • Looping over a List of Strings Using Split4 minutes
  • While Loops5 minutes
  • The While Loop and Validating Input7 minutes
  • Factorial Using the While Loop: Example of an Infinite While Loop4 minutes
  • Factorial Using the While Loop and Incremental Assignment2 minutes
  • Nested Loops4 minutes
1 assignmentTotal 15 minutes
  • Loops - Assessment15 minutes

In this module, we will explore Python’s Turtle Graphics to create visual outputs and artistic drawings. You will work on a capstone project that allows you to apply your Python skills creatively while reinforcing key programming concepts.

What's included

6 videos1 assignment

6 videosTotal 40 minutes
  • Welcome to Turtle Graphics1 minute
  • Introducing Turtle Graphics6 minutes
  • Avoiding Magic Numbers6 minutes
  • Generalizing Example and Using Parameters6 minutes
  • Completing Turtle Graphics Background10 minutes
  • Turtle Graphics Capstone Project11 minutes
1 assignmentTotal 15 minutes
  • Capstone Project Using Turtle Graphics - Assessment15 minutes

In this module, we will explore the power of functions in Python. You will learn to create reusable code by defining functions, pass parameters, and explore function scope and annotations for better code management and readability.

What's included

13 videos1 assignment

13 videosTotal 90 minutes
  • Introduction to Functions1 minute
  • Simple Functions6 minutes
  • More Examples of Functions10 minutes
  • Functions with Default Parameters7 minutes
  • Breaking Down Problems Using Functions12 minutes
  • Function Scope: Local and Global Variables11 minutes
  • Accessing a Global Variable from Within a Function6 minutes
  • Call by Order vs. Call by Name/Keyword Arguments9 minutes
  • Variable Number of Arguments in a Function Call5 minutes
  • Sum Example with Type-Checking6 minutes
  • String Methods10 minutes
  • Type Annotations and Functions5 minutes
  • Type Annotations with Lists3 minutes
1 assignmentTotal 15 minutes
  • Functions - Assessment15 minutes

In this module, we will dive deep into Python lists, a fundamental data structure. You will learn how to work with lists, access and manipulate data, and use powerful list methods and comprehensions to streamline your code.

What's included

8 videos1 assignment

8 videosTotal 50 minutes
  • Introduction to Lists1 minute
  • Creating Lists and Accessing List Elements4 minutes
  • List Methods17 minutes
  • Nested Lists5 minutes
  • List Slicing7 minutes
  • List Comprehensions6 minutes
  • List Comprehensions and Filtering7 minutes
  • For Loop Appending vs. List Comprehension4 minutes
1 assignmentTotal 15 minutes
  • Lists - Assessment15 minutes

In this module, we will engage with a series of hands-on exercises to solidify your understanding of functions, loops, and lists. These challenges will allow you to apply your knowledge and develop practical coding skills through real-world problems.

What's included

17 videos1 assignment

17 videosTotal 80 minutes
  • Welcome to the Exercise Section1 minute
  • Exercise—Loops9 minutes
  • Solution—Average10 minutes
  • Solution—Sum of Even Digits16 minutes
  • Solution—Min and Max in a List6 minutes
  • Solution—Count Vowels6 minutes
  • Solution—Multiplication Table11 minutes
  • Exercise—List Comprehensions3 minutes
  • Solution—List Comprehensions Squares3 minutes
  • Exercise—List Comprehensions Squares: Filtering1 minute
  • Solution—List Comprehensions Squares: Filtering4 minutes
  • Exercise—List Comprehensions Squares: Multiplication2 minutes
  • Solution—List Comprehensions Squares: Multiplication3 minutes
  • Exercise—List Comprehensions Squares: Flatten1 minute
  • Solution—List Comprehensions Squares: Flatten3 minutes
  • Exercise—List Comprehensions Squares: Temperature1 minute
  • Solution—List Comprehensions Squares: Temperature2 minutes
1 assignmentTotal 15 minutes
  • Exercises—Functions, Loops, Lists - Assessment15 minutes

In this module, we will explore the critical concepts of equality and identity in Python, including the impact of aliasing and copying objects. You'll also learn how to compare values and perform advanced sorting techniques.

What's included

10 videos1 reading3 assignments

10 videosTotal 51 minutes
  • Introduction1 minute
  • Aliasing6 minutes
  • Beware of the "is" Operator6 minutes
  • Shallow Copy5 minutes
  • Deep Copy7 minutes
  • type vs. isinstance4 minutes
  • Comparison and Inequalities7 minutes
  • Inequalities and Sorting6 minutes
  • Reverse Sorting4 minutes
  • General Sorting by a Key Function5 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'Python Programming Foundations'10 minutes
3 assignmentsTotal 90 minutes
  • Equality vs. Identity - Assessment15 minutes
  • Full Course Assessment60 minutes
  • Full Course Practice Assessment15 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

Offered by

Explore more from Software Development

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Python programming refers to writing code in Python, one of the most popular and versatile programming languages today. It is relevant because Python is widely used for various applications such as web development, data science, automation, artificial intelligence, and more. Its simplicity and readability make it an ideal choice for beginners and experts alike. Understanding Python allows you to automate tasks, analyze data, and build a wide range of software applications.

This course introduces Python programming from the very basics. You will learn Python syntax, basic operations, functions, control flow, and data structures such as lists and loops. It also includes a hands-on capstone project using Turtle Graphics to consolidate your skills. By the end of the course, you will be able to write Python programs, solve problems using loops and conditionals, and use functions to structure your code efficiently.

After completing this course, you will have a solid foundation in Python programming. You will be able to write Python scripts, understand the core programming concepts like variables, functions, and loops, and implement these to solve real-world problems. You will also be comfortable using Python's built-in libraries and performing basic data manipulations.

No prior programming experience is required to enroll in this course. It is designed for beginners, so the course starts with the very basics of Python. However, basic computer literacy and familiarity with how to navigate a computer are helpful.

This course is ideal for anyone who is new to programming and wants to start learning Python. It is perfect for beginners looking to get into fields like data science, web development, or software engineering. Additionally, anyone interested in learning how to automate tasks, analyze data, or work with Python for other practical uses will benefit from this course.

The course is designed to take approximately 12 hours to complete. This includes video lectures, hands-on exercises, and the capstone project. You can progress at your own pace, but most learners will find that completing the course in about a week is manageable if they spend a few hours each day.

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.

Financial aid available,