Trying to fix code formatting issues

This commit is contained in:
Bradley Bickford 2022-12-15 21:34:11 -05:00
parent e0c3de288e
commit 5273b60f6a

View File

@ -3,10 +3,10 @@
## What's this if/else nonsense?
Sometimes, our programs need to make decisions, we need to do one thing if some condition is true, and something else if it's not. We use if/else statements to ask questions in our program so we can make decisions about what should happen. The format of an if statement starts off simple.
if (some condition):
`if (some condition):
(DO STUFF IF CONDITION IS TRUE)
else:
(DO STUFF IF CONDITION IS FALSE)
(DO STUFF IF CONDITION IS FALSE)`
We can check different things to make different choices, neat. But what do we do if we need to ask a bunch of related questions in our program? That's were elif comes in.