Question: Solve the following in python (Anaconda version 3 or above) 1.Store your own version of the message Hey World in a variable, and print it.

Solve the following in python (Anaconda version 3 or above)

1.Store your own version of the message "Hey World" in a variable, and print it.

2. Store a message in a variable, and then print that message.

3. Store a new message in the same variable, and then print that new message.

4. Store the quote "honesty is the best policy" in a variable, with an appropriate introduction such as "Kenny once said, 'honesty is the best policy'". Print the quote.

5. Store your first name (Mike), in lowercase, in a variable. Using that one variable, print your name in lowercase, Titlecase, and UPPERCASE.

6. Store your first name (Mike) and last name (Thomas) in separate variables, and then combine them to print out your full name.

7. For the name "Tom Cruise". Store their first and last names in separate variables. Use concatenation to make a sentence about this person, and store that sentence in a variable. Print the sentence.

8. Store your first name (Mike) in a variable, but include at least two kinds of whitespace on each side of your name. Print your name as it is stored. Print your name with whitespace stripped from the left side, then from the right side, then from both sides.

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!