Avery B.

Can anyone help me out with this?

Use Google Collab and create a collab notebook named "PythonActivity2"

Complete the following exercises (each within its own code block on the PythonActivity2 Notebook):

1. Write a program that prints a message if a variable is less than or equal to 10, another message if the variable is greater than 10 but less than or equal to 25, and another message if the variable is greater than 25.

2. Write a program using if and elif statements to verify an age and print out a message of your choice according to that age. You should have a variable called age. The ages you use are up to you but you must have 4 ages to check the age variable against using those statements.

3. Write a program that prints a message if a variable is less than 10, and a different message if the variable is greater than or equal to 10.

Make sure you include text blocks above each problem to explain what is being done.

Leslie T.

Report

08/13/21

By:

Tutor
4.7 (31)

Math and computer tutor/teacher

## Still looking for help? Get the right answer, fast.

Get a free answer to a quick problem.
Most questions answered within 4 hours.

#### OR

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.