9 Answers
+ 2
Please elaborate your question
+ 1
Here I have given the example of one number you can do it for 2 numbers also
+ 1
But How can I write log x to the base of y ?
+ 1
import math
print(math.log10(1)) #prints o.o
print(math.log10(10)#prints 1.0
0
I just want to know how to write a code which outputs the log of two numbers in python 😅
0
Thanks 🌸
0
Mirielle Thanks 🌸🌸