University of Colorado Boulder
BiteSize Python for Absolute Beginners: Flow Controls

New year. Big goals. Bigger savings. Unlock a year of unlimited access to learning with Coursera Plus for $199. Save now.

University of Colorado Boulder

BiteSize Python for Absolute Beginners: Flow Controls

Di Wu

Instructor: Di Wu

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level
No prior experience required
11 hours to complete
3 weeks at 3 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level
No prior experience required
11 hours to complete
3 weeks at 3 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.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

December 2024

Assessments

4 assignments

Taught in English

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

Placeholder

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
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 4 modules in this course

This module introduces the concept of branching in Python, allowing programs to make decisions based on conditions. It covers different types of branching, including optional branching using if, alternative branching with if-else, and multi-branching with if-elif-else. Real-life examples will be provided to show how branching can be applied to solve practical problems.

What's included

5 readings1 assignment4 ungraded labs

This module explores looping constructs in Python, focusing on condition-based loops using while and count-based loops using for. It introduces loop control mechanisms like break and continue to modify loop behavior. The module also includes real-life case studies to demonstrate how loops are used to solve repetitive tasks efficiently.

What's included

1 reading1 assignment4 ungraded labs

This module introduces the concept of functions in Python, explaining their importance in organizing and reusing code. It covers different types of functions, from those with no parameters to those with multiple parameters, and explains the distinction between arguments and parameters. Additionally, it explores default values, functions that return values of various types (numeric, string, boolean), and those that return multiple values.

What's included

1 reading1 assignment11 ungraded labs

This module explores advanced function concepts in Python, such as nested functions, hierarchical functions, and recursive functions. It explains how functions can be organized within other functions (nested) and how hierarchical function calls work. It also provides a deep dive into recursion, showing how functions can call themselves to solve complex problems.

What's included

1 reading1 assignment3 ungraded labs

Instructor

Di Wu
University of Colorado Boulder
18 Courses41,249 learners

Offered by

Recommended if you're interested in Data Analysis

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

New to Data Analysis? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions