Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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