Question: Exercise 1 Printing out a bunch of boolean values. 1. Write 20 (or more) print statements. 2. Demonstrate the use of all six of the

Exercise 1 Printing out a bunch of boolean values. 1. Write 20 (or more) print statements. 2. Demonstrate the use of all six of the Relational Operators. 3. Demonstrate the use of the three Logical Operators. 4. Use each Operator twice. Once to print a False Output and once with a True output. Use a variety of Character, Numeric, and Boolean data types for your examples example: == print("Star Wars" "Star Trek") print(456 != 991) print( True or False) Exercise 2 Write a program that will comparing a number input by the user to the integer number 42. Have the user input an integer value. If they entered a value higher than 42 print the message "your number is higher" If they entered a value lower than 42 print the message "your number is lower" If they enter the number 42 print the message "you entered 42" please enter a number 99 your number is higher
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
