Question: Psuedocode in python needed along with output! Again please provide the psuedocode(in python) as well as the output! In this lab user will input number
Psuedocode in python needed along with output!



Again please provide the psuedocode(in python) as well as the output!
In this lab user will input number of triangles. Now for each triangle take user input for all the sides. Calculate the area for each of them and display the largest area at the end Lab Scenario: The program runs through the while loop for every triangle and asks user to enter three sides. Once we obtain 3 sides we call the user defined function which calculates the area. Store the area in a list. Now this procedure continues for every triangle and the final list contains area of every triangle. Then use .sort() function to sort in ascending order of areas and display the last value in list i.e. the largest area o For this lab, you are expected to use while loop to iterate through number of triangles For coding simplicity, you will define two global list (please see pseudocode) Take three sides using one line, not three input statement. Use split() as follows: o o a,b,c - input("Enter space seperated values:In").split(" ") Perform the required conversion from string to float. o o For area calculation you need to use .sqrt) function Lab Procedure: 1. Prior starting of the work consider what is the information you need to: what are the steps, module, user I/O 2. Determine the steps to translate the code into the python syntax 3. Test the application by considering some possible l/O mathwarehouse.com Heron's Formula S= A+B+C 2 AreaS(S - A)(S - B) (S C)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
