What will the output of the following code be where l = [0, 8, 16, 10, 36, 44, 93]?

Code:

l = [0, 8, 16, 10, 36, 44, 93]

final = [int(x**0.5) for x in l if x**0.5 - int(x**0.5) == 0]
        
print(final)

Comments