Python: program that requests two numbers: a decimal (floating point) and an integer (integer), the first number (floating) to the power of the second (int)

Give a decimal number: 5.5

Give an integer: 3

5.5 at the power of 3 is approximately 166.

To be exact, it is 166.38.

dec = float(input('Give a decimal number: '))
ger = input('Give an integer number: ')
z = dec**ger
print(dec,'to the power of',int,'is approximately',{0:.2f}.format(z))
print('To be exact it is',str(z)+".")

Archive "tester.python3 ", line 10

print (dec, & # 39; to the power of & # 39 ;, int, & # 39; is approximately & # 39 ;, {0: .2f} .format (z))

Syntax Error: Invalid Syntax