Home
Features
_Multi DropDown
__Asp.net
__C
__C#
_Asp.net core
_Python
_sql server
Mega Menu
jquery
mvc
javascript
Home
About
Contact
Home
python
Write a program to find exponentiation power of a number.
Write a program to find exponentiation power of a number.
SRK CODE SOLUTIONS
January 22, 2020
Write a program to find exponentiation(power of a number).
def Power(para1,para2):
ans=1
for i in range(para2):
ans*=para1
return ans
x=eval(input("Enter first parameter x: "))
y=eval(input("Enter second parameter y: "))
print("x^y is ",Power(x,y))
Output:-
Post a Comment
0 Comments
Labels
asp.net
c
c#
javascript
jquery
mvc
python
sql server
Tags
asp.net
c
c#
javascript
jquery
mvc
python
sql server
Contact Form
Name
Email
*
Message
*
Followers
Pages
Home
ABOUT-US
PRIVACY POLICY
CONTACT
Social Plugin
Popular Posts
Methods of primitives in javaScript
January 02, 2021
Hello, world
February 07, 2021
Shortcut Keys for Computer
November 21, 2020
Facebook
0 Comments