Skip to content

Commit 4912219

Browse files
committed
3827
1 parent da0f4b7 commit 4912219

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class Solution:
2+
3+
def countMonobit(self, n: int) -> int:
4+
ans = 0
5+
for i in range(n):
6+
first = bin(i)[0]
7+
print(first)

0 commit comments

Comments
 (0)