Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to add power operation #3

Open
ashwanisng opened this issue Jun 23, 2020 · 3 comments
Open

I want to add power operation #3

ashwanisng opened this issue Jun 23, 2020 · 3 comments

Comments

@ashwanisng
Copy link

I want to add a power operation.
int x = 5 int y =2 int z = x**y z = 5**2 z = 25

@AadityaKandel
Copy link

AadityaKandel commented Nov 28, 2020

calc.txt
If you need
x = 10
y = 2
x*y = 20 x**y = 100 this will help you

@HammadMaqbool
Copy link

there is a function name "pow()" in python use it,

@harry1722
Copy link

use the function named pow()
example:
b = pow(3,2) #number 3 is the base, number 2 is the exp
print(b)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants