03:00

X ni Y Darajaga Ko'tarish

x asos, y daraja — natija x^y!

Daraja ko'tarish
xʸ
Python'da: x ** y yoki math.pow(x, y)
? ^ ? = ?
import math
x = float(input('x='))
y = float(input('y='))
natija = ____?____
print(x, '**', y, '=', natija)
  
math.pow(x,y)
x ** y
x * y
math.sqrt(x,y)
pow(x,y)
x + y
x % y