Tag Archives: rules

What’s an elif in Python? [Answered with vids and gifs]

In short,  an “elif”  means “else  if”.. If you’ve used other programming languages, you’re probalby used to writing [crayon-5c1578ca35b57458712161-i/]  or [crayon-5c1578ca35b61856063010-i/] , but python contracts that to the single word [crayon-5c1578ca35b65032759817-i/]  .   The video below, from our middle school cu rriculum for teaching kids python, explains how to use an elif     If  you’re not a video … Continue read...