Multiply #WEEKLY Usage of math module
PYer (3226)

Using the math module, I managed to use an equation to multiply two numbers. I used the pow (to the tenth) function and log10, creating a lambda function here:
math.pow(10, (math.log10(a) + math.log10(b)))
I can't wait to see what other solutions people come up with!

You are viewing a single comment. View All
ChezCoder (1458)

@PYer also, I recommend you round the result because its giving very long decimals :D

PYer (3226)

Thanks, I'll try that, and I don't know about your post. everything is left to the judges. @ChezCoder