Packt

Python Fundamentals - Variables, Loops, Functions & More

Packt

Python Fundamentals - Variables, Loops, Functions & More

Included with Coursera PlusLearn more

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

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Write and run Python programs confidently with correct syntax

  • Implement variables, operators, and data types effectively

  • Create interactive graphics and animations with Turtle

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

October 2026

Assessments

9 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 8 modules in this course

This module introduces learners to the fundamentals of setting up a Python programming environment, including installation on various platforms, writing and running basic programs, and exploring simple Python scripts. It emphasizes hands-on practice through coding exercises and challenges to build foundational programming skills.

What's included

11 videos1 assignment

This module teaches learners how to use Turtle Graphics in Python to create a variety of visual designs, from basic shapes to complex colored spirals. It covers essential programming concepts such as loops, variables, and color manipulation to enhance visual output. Learners will gain hands-on experience in building dynamic and creative graphical projects.

What's included

11 videos1 assignment

This module introduces the fundamentals of working with numbers and variables in Python, covering data storage, arithmetic operations, error troubleshooting, and practical applications through interactive coding examples.

What's included

13 videos1 assignment

This module explores the fundamentals of loops in Python, including for loops, while loops, and their applications in creating dynamic and interactive visual designs with Turtle Graphics. Learners will gain hands-on experience in implementing loops for pattern generation and user interaction.

What's included

11 videos1 assignment

This module explores the fundamentals of conditional logic and how it is used to make decisions in programming. Learners will gain hands-on experience with IF, ELSE, and ELIF statements, as well as learn to use comparison operators and logical operators to build dynamic and responsive code. By the end, learners will be able to implement conditional structures to solve real-world problems.

What's included

13 videos1 assignment

This module explores the use of randomization and interactive programming in Python, focusing on game development and visual design. Learners will gain hands-on experience with Python's random module, Turtle Graphics, and game logic structures. By the end, they will be able to create engaging games and dynamic visual outputs.

What's included

17 videos1 assignment

This module explores the fundamentals of functions in Python, including how to structure code effectively, reuse functionality, and create interactive programs using Turtle Graphics. Learners will gain hands-on experience with function parameters, return values, and event handling to build dynamic applications. By the end, they will be able to design and implement modular, reusable code for a variety of interactive tasks.

What's included

18 videos1 assignment

This module guides learners on how to continue their Python education after completing the course. It includes expert insights, career advice, and a creative coding project to reinforce skills. Learners will gain practical knowledge and inspiration for their next steps in programming.

What's included

4 videos2 assignments

Instructor

Packt - Course Instructors
Packt
2,440 Courses732,138 learners

Offered by

Packt

Why people choose Coursera for their career

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."

Jennifer J.

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

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."

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