Question: in Python please Write a program that produces the following pattern using loops. [ no test case just attach snapshot of pattern] Note : Programs
Write a program that produces the following pattern using loops. [ no test case just attach snapshot of pattern] Note : Programs that just use spaces with print statements without using loops will not receive any credit. Question 4 : ( 20 points) Write a program to show temperature in degree Celsius(C), Fahrenheit(F) and Kelvin(K). Take the input from user in float as degree Celsius and convert it to F and K. The formula to convert C to F is : (Temp in degree C5.09.0 ) +32 The formula to convert C to K is : Temp in degree C+273.15 Note : Be careful for the division 5.02.0. make sure you use floating point values, if taken as integer the values differ. Question 5:( 20 points) Write a program to calculate the final amount with simple interest. Formula 5.1=100P.RT where, P = Principal Amount [Eg : P=$100] R = Rate of Interest [ Eg : if 5%, for computation use R=0.05 ] T = Time that amount is invested for (in years) [ Eg: T=2 Years] Take above parameters as user inputs. Final Amount =P+S.I
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
