pythagoras theorem is as followsc ( create function that uses pythagoras to calculate the hypotenuse of rightangled triangle (figure ) def pythagoras ( breturn [end of exerciseexercise albert einstein given the famous equation from albert einsteine mc ( the sun radiates / of energy calculate how much of the mass on the sun is used to create this energy per day how many years will it take to convert all the mass of the sun completelydo we need to worry if the sun will be used up in our generation or the nextjustify the answer the mass of the sun is kg