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.
Create a variable called year and initialise it to Output the phrase The
World is Waiting! using a the d operator allows for the printing of numbers within
stringsb the fstring, c the format syntax.
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 stringb the fstring, c the format syntax.
Write code that allows you to input information on your age, height and weight and
output this information in one sentence.
Bank A pays percent compound interest annually on its time deposits balances in
comparison to Bank B that pays percent simple interest. If you make a $ 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
years. Output After years, I will earn $$$ in Bank A and After 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
