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 Log in or register to post comments
Comments