How can I use the power function in python 2 7

0 votes
Can you show an example?
May 15, 2019 in Python by Waseem
• 4,540 points
1,117 views

1 answer to this question.

0 votes
print(pow(3,4))

#this will return the exponentiation of 3 to the power 4.
answered May 21, 2019 by Mohammad
• 3,230 points

Related Questions In Python

0 votes
1 answer
0 votes
1 answer

How can I use the sleep function in a python program?

You can use sleep as below. import time print(" ...READ MORE

answered Jun 10, 2020 in Python by anonymous
762 views
0 votes
0 answers

How can I use help in the python console?

Can you give the syntax to print ...READ MORE

Jun 11, 2019 in Python by Waseem
• 4,540 points
293 views
+2 votes
3 answers

How can I play an audio file in the background using Python?

down voteacceptedFor windows: you could use  winsound.SND_ASYNC to play them ...READ MORE

answered Apr 4, 2018 in Python by charlie_brown
• 7,720 points
12,874 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,023 views
0 votes
1 answer
+5 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,790 points
3,409 views
0 votes
1 answer

How can I find the square of a number in python?

You can use the exponentiation operator or ...READ MORE

answered May 21, 2019 in Python by Mohammad
• 3,230 points
893 views
0 votes
1 answer

how can i import the tensorflow library in python?

to import the tensorflow library in your ...READ MORE

answered May 21, 2019 in Python by Mohammad
• 3,230 points
600 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP