Skip to content

Commit 86304d4

Browse files
authored
Merge pull request darkprinx#24 from minnielahoti/patch-2
Added single line solution to question 4
2 parents 34998a0 + e83a87a commit 86304d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Status/Day 2.md renamed to Status/Day 2_minnie.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ tpl = tuple(lst) # tuple method converts list to tuple
4545
print(lst)
4646
print(tpl)
4747
```
48+
**Single line solution Python 3**
49+
```python solution by minnielahoti
50+
51+
print(tuple(input("Enter a series of numbers separated by a comma :").split(',')))
4852

4953
---
5054

0 commit comments

Comments
 (0)