# given three floating-point numbers x, y, and z, output x to the power of z
# to the power of (y to the power of z)

# the absolute value of (x minus y) and square root of (x to the power of z)

#Output each floating-point value with two digits after the decimal point, which can be achieved as follows: 
#print (f' {your_value1:.2f} {your_value2:.2f} {your_value3:.2f} {your_value4:.2f}')

x = float(input())

y = float(input())

z = float(input())

value_1 = x **z 

value_2 = x ** y ** z

value_3 = abs(x-y)

value_4 = math.sqrt(x**z)

print(f'{f'value_1:.2f'} {f'value_2:.2f'} {f'value_3:.2f'}')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: