Question: Python Programming 1. Assign a message to a variable, and then print that message. Comment your code! 2. Assign a message to a variable, then

Python Programming

1. Assign a message to a variable, and then print that message. Comment your code!

2. Assign a message to a variable, then assign a person's name to a variable called "name" - Print the message and the person's name! Comment your code!

3. Use a variable to represent a person's name, and then print it in lowercase, uppercase, and title case. Comment your code!

4. Use a famous movie quote or song line. Assign it to a variable. Assign the artist who is famous for the quote and assign it to a variable. Print the artist and the quote. Comment your code!

5. Write some addition, subtraction, multiplication and division problems for the following numbers: (444+555), (456-897), (234*777), (1232345/345). For each problem, use a variable for

each number in the problem. For example "333 + 444" would be "x = 333" "y = 444". Then add the variables together like x + y. However, you must remember that we need somewhere to store our

solutions, so you might could initialize the variable "z" to 0. Therefore, z = x + y and so on. Comment your code!

6. Use a variable to represent your favorite number, then create a message that reveals your favorite number. Comment your code!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!