Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago