Skip to content

Commit 2150e3d

Browse files
committed
2 parents f6ea44a + fb2c1af commit 2150e3d

18 files changed

+4
-3
lines changed
File renamed without changes.
File renamed without changes.

List/CombiningAllInnerListIntoOneList.py renamed to DataCollectionTypes/List/6. CombiningAllInnerListIntoOneList.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ def genericSolutionWithoutUsingRecursive(inputList):
3030
if __name__ == '__main__':
3131

3232
firstInputList = ['a', 'b', 'c', 'd']
33-
secondInputList = list(range(1, 4)) # [1,2,3]
34-
firstInputList.append(secondInputList)
35-
print(firstInputList) # ['a', 'b', 'c', 'd', [1, 2, 3]]
33+
34+
firstInputList.append(list(range(1, 4))) # [1,2,3]
35+
print(firstInputList) # ['a', 'b', 'c', 'd', [1, 2, 3]]
36+
3637
ob = singleList()
3738
# ob.appendingAllElementsInAList(firstInputList)
3839

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)