This course focuses on mastering Python’s control flow mechanisms, including branching, looping, and functions. It covers essential concepts such as making decisions with if, if-else, and if-elif-else structures (branching), automating repetitive tasks using while and for loops (looping), and introduces functions as a higher-level form of flow control. Advanced topics like nested, hierarchical, and recursive functions are also explored, providing learners with tools to write organized, reusable, and efficient code.

BiteSize Python for Absolute Beginners: Flow Controls

BiteSize Python for Absolute Beginners: Flow Controls
This course is part of BiteSize Python for Absolute Beginners Specialization

Instructor: Di Wu
Access provided by ARS SCINet/AI-COE
Gain insight into a topic and learn the fundamentals.
Beginner level
No prior experience required
1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
What you'll learn
Implement if, if-else, and if-elif-else to handle conditions and design branching logic for decision-making problems.
Use while and for loops, apply break and continue, and solve practical problems by automating tasks with loops.
Implement functions with various parameters, return types, and recursion, comparing iterative and recursive solutions for efficiency.
Skills you'll gain
Tools you'll learn
Details to know

Shareable certificate
Add to your LinkedIn profile
Assessments
4 assignments
Taught in English
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
This course is part of the BiteSize Python for Absolute Beginners 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 4 modules in this course
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
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."
Explore more from Data Science

University of California, Davis

University of Colorado Boulder

University of Colorado Boulder


