- 1

Python 🔴🔴

How to use log in python ??

5th May 2021, 3:42 PM
Nada Hossam
Nada Hossam - avatar
9 Answers
+ 2
Please elaborate your question
5th May 2021, 4:05 PM
Atul [Inactive]
5th May 2021, 4:12 PM
Atul [Inactive]
+ 1
Here I have given the example of one number you can do it for 2 numbers also
5th May 2021, 4:12 PM
Atul [Inactive]
+ 1
But How can I write log x to the base of y ?
5th May 2021, 4:16 PM
Nada Hossam
Nada Hossam - avatar
+ 1
import math print(math.log10(1)) #prints o.o print(math.log10(10)#prints 1.0
7th May 2021, 11:02 AM
Rizwan Ahmad
Rizwan Ahmad - avatar
0
I just want to know how to write a code which outputs the log of two numbers in python 😅
5th May 2021, 4:08 PM
Nada Hossam
Nada Hossam - avatar
0
Thanks 🌸
5th May 2021, 4:14 PM
Nada Hossam
Nada Hossam - avatar
0
Mirielle Thanks 🌸🌸
5th May 2021, 4:27 PM
Nada Hossam
Nada Hossam - avatar