Question: Use a variable to represent your name and then print your name in lowercase, uppercase and title case. 2 ) Create a variable called year

Use a variable to represent your name and then print your name in lowercase, uppercase
and title case.
2) Create a variable called year and initialise it to 2025. Output the phrase 2025 The
World is Waiting! using (a) the %d operator (allows for the printing of numbers within
strings),(b) the f-string, (c) the .format() syntax.
3) Create a variable called exercise, representing the exercise tutorial one. Output the
phrase Python tutorial one class was quite interesting. using (a) the %s operator
(integrates a string in a string),(b) the f-string, (c) the .format() syntax.
4) Write code that allows you to input information on your age, height and weight and
output this information in one sentence.
5) Bank A pays 5.5 percent compound interest annually on its time deposits balances in
comparison to Bank B that pays 7 percent simple interest. If you make a $5,000 deposit
in each bank (assuming no further deposits or interest), using Python:
a. Produce code that will output how much money each bank will earn after 10
years. Output After 10 years, I will earn $$$ in Bank A. and After 10 years,
I will earn $$$ in Bank B..
b. Further, produce code that will output Bank A pays $$$ more than Bank B. or
Bank B pays $$$ more than Bank A..
NB. $$$ is in two decimal places.

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 Programming Questions!