Python Forum
Difference between math.pow and **
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference between math.pow and **
#3
Aha, the problem was between keyboard and chair - a typo, I had too many brackets. Thanks.

Which is the "preferred" way of doing it? pow or **?

Or is it just personal preference?
Reply


Messages In This Thread
Difference between math.pow and ** - by alloydog - Dec-29-2020, 07:37 PM
RE: Difference between math.pow and ** - by jjc385 - Dec-29-2020, 07:55 PM
RE: Difference between math.pow and ** - by alloydog - Dec-30-2020, 07:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  math.log versus math.log10 stevendaprano 10 2,769 May-23-2022, 08:59 PM
Last Post: jefsummers
  Why getting ValueError : Math domain error in trig. function, math.asin() ? jahuja73 3 4,029 Feb-24-2021, 05:09 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020