python floor
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
python floor
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
log in python
def log(x,base):
result = ln(x)/ln(base)
return result
def ln(x):
n = 100000.0
return n * ((x ** (1/n)) - 1)
print(log(2,4))
#code by fawlid
python how to use logarithm
//Logarithm Functions
print(math.log(10))
print(math.log(10, 10))
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us