In this tutorial, you’ll learn how to use Python if else to control your code. We’re assuming you already know a few Python basics such as:

  • How to read a CSV file
  • Basic Python types like lists, strings and integers
  • Using for loops to work with lists.

If you aren’t comfortable with those yet, we recommend this free and interactive Python Fundamentals course, which teaches all of these (and Python if else as well!)

#data science tutorials #elif #if #if else #python #python tutorial

How to Control the Flow of Your Python Code
3.05 GEEK