from math import log2

number = int(input("Enter a number"))

x = log2(number)

print(f"log base2 of {number} is : {x}")
71f63bd24b5590af7ecaef0c54377df718f7e554
<mask token>

<mask token>
print(f'log base2 of {number} is : {x}')

<mask token>
number = int(input('Enter a number'))
x = log2(number)
print(f'log base2 of {number} is : {x}')

from math import log2
number = int(input('Enter a number'))
x = log2(number)
print(f'log base2 of {number} is : {x}')

from math import log2

number = int(input("Enter a number"))

x = log2(number)

print(f"log base2 of {number} is : {x}")