मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

Explain the following built-in function. pow() - Computer Science

Advertisements
Advertisements

प्रश्न

Explain the following built-in function.

pow()

थोडक्यात उत्तर

उत्तर

Function Description Syntax Example
pow() Returns the computation of ab i.e. (a**b) a raised to the power of b. pow (a,b)
a = 5
b = 2
c = 3.0
print (pow (a,b))
print (pow (a,c))
print (pow (a+b,3))
Output:
25
125.0
343
shaalaa.com
Introduction to Python Functions
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Python functions - Evaluation [पृष्ठ ११३]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 7 Python functions
Evaluation | Q 3. (e) | पृष्ठ ११३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×