How is the value for w calculated in below lines of code | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How is the value for w calculated in below lines of code

n=int(input()) w= Len("{0:b}". format (n))

9th May 2019, 1:04 PM
Shivam Tewari
Shivam Tewari - avatar
0 Resposta