finding power...in python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dreamedboy21
    New Member
    • Apr 2007
    • 1

    #1

    finding power...in python

    hii people...ı have a question about finding power...how can ı find the power in pythonn
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by dreamedboy21
    hii people...ı have a question about finding power...how can ı find the power in pythonn
    By that, do you mean "what makes Python such a powerful language?"?

    Comment

    • ghostdog74
      Recognized Expert Contributor
      • Apr 2006
      • 511

      #3
      Originally posted by dreamedboy21
      hii people...ı have a question about finding power...how can ı find the power in pythonn
      you can find power here

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by dreamedboy21
        hii people...ı have a question about finding power...how can ı find the power in pythonn
        I get it! A number raised to the power of another number:


        >>> 2**4
        16
        >>> from math import pow
        >>> pow(2, 4)
        16.0
        >>>

        Comment

        Working...