Make a pseudocode that does the following. 1. Calculate and display the square roots of the absolute values of the numbers from -1 to -11. 2. Show the length of n number of words read. Send a message indicating the word and its length. 3. Show 10 rounded decimal numbers read. The original and rounded number must appear. 4. Display the sum of n randomly generated values between 5 and 50.
def sum(n): sum = 0 for i in range(n): x = random.randint(5, 50) print('x = ', x) sum += x print('sum = ', sum) sum(10)