Conditionals and Control Flow

In today’s lesson, we are learning about Conditionals and Control Flow using Python! We are learning how to create programs that generate different outcomes based upon the user inputs. Control Flow allows the ability to choose among the outcomes based off what else is happening in the program.

Here are the results of my Python simulation:

Go With The Flow:

Con1

Con1A

 

 

Compare Closely!:

Con2

Con2A

 

 

Compare… Closelier!:

Con3

Con3A

 

 

How The Tables Have Turned:

Con4

Con4A

 

 

To Be and/or Not to Be:

Con5

Con5A

 

 

And:

Con6

Con6A

 

 

Or:

Con7

Con7A

 

 

Not:

Con8

Con8A

 

 

This and That (or This, But Not That!):

Con9

Con9A

 

 

Mix ‘n’ Match:

Con10

Con10A

 

 

Conditional Statement Syntax:

Con11

Con11A

 

 

If You’re Having…:

Con12

Con12A

 

Else Problems, I Feel Bad For You, Son:

Con13

Con13A

I Got 99 Problems, But a Switch Ain’t One:

Con14

Con14A

The Big If:

Con15

Con15A