What is an exampleof a program, app,or website that youuse that comparesvalues in someway? Write this statementin codeusing the comparisonoperators. “hello” is equal to“helloLogical statement example:“I wear flip flops” Is true if Iam outside AND it is NOTraining Now write your ownstatement using the anslogical operator  What is abooleanvariable?What valuescan it hold? Create a booleanvariable that storeswhether it is rainingor not. What namewould you give it?What value wouldyou assign to it if it israining?Bonusfree!In Python, howare the logicaloperatorswritten?Lowercase oruppercase?Write this statementin codeusing the comparisonoperators. 1.7 is not equal to 1Logical statementexample: “I go tosleep” Is true if I amtired or it is after 9pm. Now write your ownstatement using the orlogical operatorIf the variable ais True and b isFalse, what isthe value of aor b?Write this statementsin codeusing the comparisonoperators. 9 is greater than 10In the AP CSPexam referencesheet, what isthe operatorused for notequal to.If the variable ais True and b isFalse, what isthe value of aand b?What are thevaluesPython usesfor “true” and“false”?What arethe 3logicaloperators?If thevariable a isTrue, what isthe value ofnot a What is an exampleof a program, app,or website that youuse that comparesvalues in someway? Write this statementin codeusing the comparisonoperators. “hello” is equal to“helloLogical statement example:“I wear flip flops” Is true if Iam outside AND it is NOTraining Now write your ownstatement using the anslogical operator  What is abooleanvariable?What valuescan it hold? Create a booleanvariable that storeswhether it is rainingor not. What namewould you give it?What value wouldyou assign to it if it israining?Bonusfree!In Python, howare the logicaloperatorswritten?Lowercase oruppercase?Write this statementin codeusing the comparisonoperators. 1.7 is not equal to 1Logical statementexample: “I go tosleep” Is true if I amtired or it is after 9pm. Now write your ownstatement using the orlogical operatorIf the variable ais True and b isFalse, what isthe value of aor b?Write this statementsin codeusing the comparisonoperators. 9 is greater than 10In the AP CSPexam referencesheet, what isthe operatorused for notequal to.If the variable ais True and b isFalse, what isthe value of aand b?What are thevaluesPython usesfor “true” and“false”?What arethe 3logicaloperators?If thevariable a isTrue, what isthe value ofnot a 

Python Control structures - Call List

(Print) Use this randomly generated list as your call list when playing the game. There is no need to say the BINGO column name. Place some kind of mark (like an X, a checkmark, a dot, tally mark, etc) on each cell as you announce it, to keep track. You can also cut out each item, place them in a bag and pull words from the bag.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  1. What is an example of a program, app, or website that you use that compares values in some way?
  2. Write this statement in code using the comparison operators. “hello” is equal to “hello
  3. Logical statement example: “I wear flip flops” Is true if I am outside AND it is NOT raining Now write your own statement using the ans logical operator
  4. What is a boolean variable? What values can it hold?
  5. Create a boolean variable that stores whether it is raining or not. What name would you give it? What value would you assign to it if it is raining?
  6. Bonus free!
  7. In Python, how are the logical operators written? Lowercase or uppercase?
  8. Write this statement in code using the comparison operators. 1.7 is not equal to 1
  9. Logical statement example: “I go to sleep” Is true if I am tired or it is after 9pm. Now write your own statement using the or logical operator
  10. If the variable a is True and b is False, what is the value of a or b?
  11. Write this statements in code using the comparison operators. 9 is greater than 10
  12. In the AP CSP exam reference sheet, what is the operator used for not equal to.
  13. If the variable a is True and b is False, what is the value of a and b?
  14. What are the values Python uses for “true” and “false”?
  15. What are the 3 logical operators?
  16. If the variable a is True, what is the value of not a