Python Write a function called nested_sqrt which takes a nested list of integers as an input, finds the square root of each number (revisit lecture 9) and returns the sum. (80 points for coding) Example: input: a= [ 4, [9, 16], 64] print(nested_sqrt(a)) 17

$30.00

Category:

Description

Python

Write a function called nested_sqrt which takes a nested list of integers as an input, finds the square root of each number (revisit lecture 9) and returns the sum. (80 points for coding)

Example:

input: a= [ 4, [9, 16], 64]

print(nested_sqrt(a))

17


error: Content is protected !!