Question: 1) Write a function called sydTable(cost, salvage, life) that accepts three parameters: cost, salvage, life This function prints out the SYD depreciation table for these

1) Write a function called sydTable(cost, salvage, life) that accepts three parameters: cost, salvage, life This function prints out the SYD depreciation table for these three parameters. See http://www.excel- easy.com/examples/depreciation.html#syd for a description on SYD depreciation. You need to pr.nt out the table with the following specified column widths and alignment. This means that your printout must be exactly the same like mine. See https://www.digitalocean.com/community/tutorials/how-to-use string-formatters-in-python-3 for formatting strings in Python 3. (50 points) Pro Edu 3.0 Eile Edit View Navigate Code Hep Homework 6 loops) CAUsersmakwsPycha > . # see http://www.excel easy.com/exanples/depreciation.html#syd foz sxo deprecation f table # See https://www.digitalocean.com/community/tutoriala/how-to-use-string-formatters-in-python-3 # for formatting a string in Python 3 Extemal Libraries def eydTable (oost, 8alvage, life); 10 12 13 14 16 18 aydTable (10000, 1000, 10) yaTable (20000,1000,7) Year Deprecation Book value at year end 1472.73 1309.09 1145.15 981.82 818.18 609D.91 5581 , #2 4436.36 454.55 90.91 327.27 163.64 Deprecation 490.91 1163.64 1000.00 Book value at year end 5250.00 1117B.57 7785-71 507143 3035.71 1678.57 Year 4071.43 3392.6 2714.29 2035.71 1357.14 BzoCess iaished with eit code o 6 Python ConleRun
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
