Skip to content

Commit 0dd8c21

Browse files
Merge pull request #1960 from CodingTestStudy2/변지협
[변지협] Day02
2 parents da0f4b7 + 4912219 commit 0dd8c21

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)