Google
Functions and Conditional Statements
Google

Functions and Conditional Statements

Google Career Certificates

Top Instructor

Included with Coursera Plus

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

Recommended experience

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

Recommended experience

3 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Identify best practices for writing clean code such as reusability, modularity, and refactoring.

  • Use comparators and logical operators to compare values.

  • Explain the purpose and logic of conditional statements such as if, else, and elif

  •  Describe how to define Python functions using the def and return keywords

Skills you'll gain

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2025

Assessments

3 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

Build your subject-matter expertise

This course is part of the Google Data Analysis with Python 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 3 modules in this course

In this module, you will discover how to call functions to perform useful actions on your data.

What's included

5 videos1 reading1 assignment3 ungraded labs

In this module, you will learn how to write conditional statements in order to direct the computer to make decisions based on the given instructions.

What's included

2 videos2 readings1 assignment2 ungraded labs

Review everything you’ve learned and take the final assessment.

What's included

1 reading1 assignment

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

Google Career Certificates

Top Instructor

Google
341 Courses13,787,048 learners

Offered by

Google

Explore more from 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."
Coursera Plus

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