Skip to content

Commit df32453

Browse files
committed
merge pull requests rev#1
1 parent 665c0da commit df32453

File tree

4 files changed

+61
-19
lines changed

4 files changed

+61
-19
lines changed

Status/Day 2.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -351,15 +351,16 @@ lst = input().split(',')
351351
lst.sort()
352352
print(",".join(lst))
353353
```
354-
#Solution by Poonam-glitch
355-
356-
```
354+
---
355+
```python
356+
'''Solution by Poonam-glitch
357+
'''
357358
def my_func(e):
358359
return e[0]
359360

360-
my_list = input('Enter a comma separated string').split(",")
361+
my_list = input('Enter a comma separated string: ').split(",")
361362
my_list.sort(key=my_func)
362-
print(my_list)
363+
print(",".join(my_list))
363364
```
364365

365366
---

Status/Day 4.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ print(question_15(inp))
184184
'''
185185
a = input()
186186
print(sum(int(i*a) for i in range(1,5)))
187+
```
188+
---
187189

188190
[**_go to previous day_**](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/blob/master/Status/Day%203.md "Day 3")
189191

Status/Day_22.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ for letter in range(ord('a'),ord('z')+1): # ord() gets the ascii value of a c
6464
if cnt > 0:
6565
print("{},{}".format(letter,cnt))
6666
```
67-
```python Solution by Utkarsh4697
67+
---
68+
```python
69+
'''Solution by: Utkarsh4697
70+
'''
6871
s = 'abcdefgabc'
6972
for i in sorted(set(s)):
7073
print(f'{i}, {s.count(i)}')

notebooks/Day_06.ipynb

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,19 @@
5050
},
5151
{
5252
"cell_type": "code",
53-
"execution_count": 1,
54-
"metadata": {},
53+
"execution_count": 2,
54+
"metadata": {
55+
"pycharm": {
56+
"is_executing": false
57+
}
58+
},
5559
"outputs": [
5660
{
5761
"name": "stdout",
58-
"output_type": "stream",
5962
"text": [
60-
"aaaaa\n",
61-
"\n"
62-
]
63+
"ABd1234@1\n"
64+
],
65+
"output_type": "stream"
6366
}
6467
],
6568
"source": [
@@ -118,9 +121,21 @@
118121
},
119122
{
120123
"cell_type": "code",
121-
"execution_count": null,
122-
"metadata": {},
123-
"outputs": [],
124+
"execution_count": 3,
125+
"metadata": {
126+
"pycharm": {
127+
"is_executing": false
128+
}
129+
},
130+
"outputs": [
131+
{
132+
"name": "stdout",
133+
"text": [
134+
"ABd1234@1\n"
135+
],
136+
"output_type": "stream"
137+
}
138+
],
124139
"source": [
125140
"def check(x):\n",
126141
" cnt = 6 <= len(x) and len(x) <= 12\n",
@@ -161,9 +176,21 @@
161176
},
162177
{
163178
"cell_type": "code",
164-
"execution_count": null,
165-
"metadata": {},
166-
"outputs": [],
179+
"execution_count": 4,
180+
"metadata": {
181+
"pycharm": {
182+
"is_executing": false
183+
}
184+
},
185+
"outputs": [
186+
{
187+
"name": "stdout",
188+
"text": [
189+
"ABd1234@1\n"
190+
],
191+
"output_type": "stream"
192+
}
193+
],
167194
"source": [
168195
"import re\n",
169196
"\n",
@@ -277,8 +304,17 @@
277304
"nbconvert_exporter": "python",
278305
"pygments_lexer": "ipython3",
279306
"version": "3.7.6"
307+
},
308+
"pycharm": {
309+
"stem_cell": {
310+
"cell_type": "raw",
311+
"source": [],
312+
"metadata": {
313+
"collapsed": false
314+
}
315+
}
280316
}
281317
},
282318
"nbformat": 4,
283319
"nbformat_minor": 4
284-
}
320+
}

0 commit comments

Comments
 (0)