+ 2
The function doesn’t work, python
import math def optimal_size( n =258200, p=0.01): m= -(n * math.log(p) / (math.log(2)**2) return int(m)
3 Antworten
+ 2
Use some more brackets , between the the division sign and also before - sign
+ 2
Raj Kalash Tiwari oh, thanks 👍
+ 2
Yup your welcome