-log10() is a python function which is predefined in math library. and use for find the value of log with base 10
Example-
number is 1000
log10 will give 3.0
number is 10
log10 will give 1.0
number is 565
log10 will give 2.7520484478194387
program-
import math
print("Enter any number")
a=int(input())
print("Log10 of number is "+str(math.log10(a)))
print("Enter another number")
a=int(input())
print("Log10 of number is "+str(math.log10(a)))
Enter any number
565
Log10 of number is 2.7520484478194387
Enter another number
34
Log10 of number is 1.5314789170422551
Enter any number
1000
Log10 of number is 3.0
Enter another number
100
Log10 of number is 2.0