Question: this is python , please compelete the code part and make it the same the output in the right side screen # Main code def

this is python , please compelete the code part and make itthis is python , please compelete the code part and make it the same the output in the right side screen

# Main code def main): This program will look through the master list(lstMaster) for each "entry" (a person's name and 3 numbers) You will add up all the numbers for each person and send that total to the Square Root Function (that you create) and will return the square root of that total You will then display the person's name and the square root. Create all 4 lists 1stPerson = ["Tim", "Bob", "Jon", "Alf", "Bea", "Bear", "Rabbit"] lstFirstNum [20,42,46,17,10,32,39] lstsecondNurn= [6,7,99 , 72,52 , 5,50] IstThirdNum= [83,82,80,80,79,78,76] # Append the 4 lists to the Master List 1stMaster = [ ] lstMaster.append (istPerson) lstMaster.append (1stFirstNum) lstMaster.append (1stSecondNum) lstMaster.append (1stThirdNum) Example: Tim is associated with 20, 6 and 83. Adding up the 20, 6 and 83 gives us 109 and the square root is 10.44030650891055 The print out would be Tim's square root is 10.44030650891055 # code main() # The final print out in the shell should look like this: You need to use a loop to add up the numbers. You should end up having somewhere between 3-20 more lines of code,no need for more # Tin's square root is 10.44030650891055 # Bob's square root is 11.445523142259598 # Jon's square root is 15.0 # Alf's square root is 13.0 # Bea's quare root is 11.874342087037917 # Bear's square root is 10.723805294763608 # Rabbit's square root is 12.84523257866513 No need for extra comments. No need to change the name of this file But do use good naming conventions for variables etc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!