Skip to content

Commit a42115f

Browse files
authored
Create 1980.py
1 parent ee07aec commit a42115f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

1901-2000/1980.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class Solution(object):
2+
def findDifferentBinaryString(self, nums):
3+
result = ""
4+
5+
for i in range(len(nums)):
6+
result += '1' if nums[i][i] == '0' else '0'
7+
8+
return result
9+

0 commit comments

Comments
 (0)