x = input("Ange basen: ") y = input("Ange exponenten: ") x = float(x) y = float(y) s = x**y print("%.1f upphöjt till %.1f blir %.1f" %(x, y, s))