Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Try the following problem #1 Suppose you have 100 , which you can irvest with a 10% return each yeac. After one yeas, its worth

image text in transcribed
image text in transcribed
Try the following problem \#1 Suppose you have 100 , which you can irvest with a 10% return each yeac. After one yeas, its worth 1001.1=110, and after fwo years its 1001.11.1 = 121. How much money do you have atter seven years? In [3]= Out:[3]: Try the following problem \#2 Can you have your solution state that this is the tota after 7 years? Can you incude a $ in front of the anount? Don't forget to use stry around your numbers to allow them to be combined. In [15]f print('The total after 7 years is s194. 17171 'eeeeees12') The totat after 7 years is $194.87171ee0ede012 Try the following problem 3 Can you croate a new veriable caled Market, Cio wat the solution? Why would you do this? price = 1,75 aharet =65.2. 1001.1+7 Instead of calculating the actual values, you can use varlables instead. Create a arvings varlable which represents the $100 ou start with it is up to you to create a new varlable as well to represent the 1.1 growth mutiplet and redo the calculation. - Craate a new variable called savings equal to the starting value of $100. - Create a nerw variable caled growth multiplier equai to 1.1. - Set the solution to a new variable called result and print out the valua. Try the following problem As We will work with other data fypen now, includirg strings and booleans. - Create a now string called savings type wth the value 'compond interest. - Croate a new boolean called profitable wath the value 'True;. - Print those varables

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

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

6 Why is change considered a central aspect of HRM practice?

Answered: 1 week ago