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](https://blob.sololearn.com/avatars/d157c54f-445c-40c8-88cd-6567510d82c9.jpg)
1 Answer
Often have questions like this?
Learn more efficiently, for free:
Hot today
How to allow one instance of exe
2 Votes
Python
1 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
What should I add/improve ?
1 Votes
Tools for web design?
1 Votes