How To Write Log2 In Python Without Using Function