Loopskey-logo
CourseTechnology

Functions and Conditional Statements

By External Provider

Price

Free

Go to content

Opens coursera.org in a new tab

Level

BEGINNER

About this course

In this course, you’ll discover how to call functions to perform useful actions on your data. You’ll also learn how to write conditional statements to tell the computer how to make decisions based on your instructions. And you’ll practice writing clean code that can be easily understood and reused by other data professionals. By the end of this course, you will be able to: • Explain the purpose and logic of conditional statements such as if, else, and elif • Use comparators and logical operators to compare values • List the benefits of commenting on code • Identify best practices for writing clean code such as reusability, modularity, and refactoring • Describe how to define Python functions using the def and return keywords

What you will 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