I'm receiving this error and I'm not really sure why considering I've got the import math line there.
NameError: name 'sqrt' is not defined
import math
x = float(input())
y = float(input())
z = float(input())
print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(pow(x, z), pow(x, pow(y, z)), abs(x - y), sqrt(pow(x, z))))
EDIT: I was able to resolve the problem by using math.sqrt
but I'm not sure why it's needed when the pow and abs functions work.