Skip to content

Commit 814a29b

Browse files
Atualiza Repo
1 parent dbf61d9 commit 814a29b

34 files changed

+3193
-4813
lines changed

Cap08/DesafioDSA_Solucao/Missao1/missao1.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ def main():
2121

2222

2323
if __name__ == '__main__':
24-
main()
24+
main()
25+
26+

Cap08/DesafioDSA_Solucao/Missao1/missao1_solucao.ipynb

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@
99
"## Download: http://github.com/dsacademybr"
1010
]
1111
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 1,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"name": "stdout",
19+
"output_type": "stream",
20+
"text": [
21+
"Versão da Linguagem Python Usada Neste Jupyter Notebook: 3.7.6\n"
22+
]
23+
}
24+
],
25+
"source": [
26+
"# Versão da Linguagem Python\n",
27+
"from platform import python_version\n",
28+
"print('Versão da Linguagem Python Usada Neste Jupyter Notebook:', python_version())"
29+
]
30+
},
1231
{
1332
"cell_type": "markdown",
1433
"metadata": {},
@@ -78,10 +97,8 @@
7897
},
7998
{
8099
"cell_type": "code",
81-
"execution_count": 1,
82-
"metadata": {
83-
"collapsed": true
84-
},
100+
"execution_count": 2,
101+
"metadata": {},
85102
"outputs": [],
86103
"source": [
87104
"class UniqueChars(object):\n",
@@ -107,10 +124,8 @@
107124
},
108125
{
109126
"cell_type": "code",
110-
"execution_count": 2,
111-
"metadata": {
112-
"collapsed": true
113-
},
127+
"execution_count": 3,
128+
"metadata": {},
114129
"outputs": [],
115130
"source": [
116131
"class UniqueChars(object):\n",
@@ -133,7 +148,7 @@
133148
},
134149
{
135150
"cell_type": "code",
136-
"execution_count": 3,
151+
"execution_count": 4,
137152
"metadata": {},
138153
"outputs": [
139154
{
@@ -174,7 +189,7 @@
174189
},
175190
{
176191
"cell_type": "code",
177-
"execution_count": 4,
192+
"execution_count": 5,
178193
"metadata": {},
179194
"outputs": [
180195
{
@@ -220,7 +235,7 @@
220235
"name": "python",
221236
"nbconvert_exporter": "python",
222237
"pygments_lexer": "ipython3",
223-
"version": "3.6.5"
238+
"version": "3.7.6"
224239
}
225240
},
226241
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao2/missao2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"name": "python",
199199
"nbconvert_exporter": "python",
200200
"pygments_lexer": "ipython3",
201-
"version": "3.6.5"
201+
"version": "3.7.6"
202202
}
203203
},
204204
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao2/missao2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ def main():
2323

2424

2525
if __name__ == '__main__':
26-
main()
26+
main()

Cap08/DesafioDSA_Solucao/Missao2/missao2_solucao.ipynb

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@
99
"## Download: http://github.com/dsacademybr"
1010
]
1111
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 1,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"name": "stdout",
19+
"output_type": "stream",
20+
"text": [
21+
"Versão da Linguagem Python Usada Neste Jupyter Notebook: 3.7.6\n"
22+
]
23+
}
24+
],
25+
"source": [
26+
"# Versão da Linguagem Python\n",
27+
"from platform import python_version\n",
28+
"print('Versão da Linguagem Python Usada Neste Jupyter Notebook:', python_version())"
29+
]
30+
},
1231
{
1332
"cell_type": "markdown",
1433
"metadata": {},
@@ -79,10 +98,8 @@
7998
},
8099
{
81100
"cell_type": "code",
82-
"execution_count": 1,
83-
"metadata": {
84-
"collapsed": true
85-
},
101+
"execution_count": 2,
102+
"metadata": {},
86103
"outputs": [],
87104
"source": [
88105
"import math\n",
@@ -122,7 +139,7 @@
122139
},
123140
{
124141
"cell_type": "code",
125-
"execution_count": 2,
142+
"execution_count": 3,
126143
"metadata": {},
127144
"outputs": [
128145
{
@@ -165,7 +182,7 @@
165182
},
166183
{
167184
"cell_type": "code",
168-
"execution_count": 3,
185+
"execution_count": 4,
169186
"metadata": {},
170187
"outputs": [
171188
{
@@ -211,7 +228,7 @@
211228
"name": "python",
212229
"nbconvert_exporter": "python",
213230
"pygments_lexer": "ipython3",
214-
"version": "3.6.5"
231+
"version": "3.7.6"
215232
}
216233
},
217234
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao3/missao3.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"name": "python",
213213
"nbconvert_exporter": "python",
214214
"pygments_lexer": "ipython3",
215-
"version": "3.6.5"
215+
"version": "3.7.6"
216216
}
217217
},
218218
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao3/missao3.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@ def main():
3636

3737

3838
if __name__ == '__main__':
39-
main()
39+
main()
40+
41+

Cap08/DesafioDSA_Solucao/Missao3/missao3_solucao.ipynb

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@
99
"## Download: http://github.com/dsacademybr"
1010
]
1111
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 1,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"name": "stdout",
19+
"output_type": "stream",
20+
"text": [
21+
"Versão da Linguagem Python Usada Neste Jupyter Notebook: 3.7.6\n"
22+
]
23+
}
24+
],
25+
"source": [
26+
"# Versão da Linguagem Python\n",
27+
"from platform import python_version\n",
28+
"print('Versão da Linguagem Python Usada Neste Jupyter Notebook:', python_version())"
29+
]
30+
},
1231
{
1332
"cell_type": "markdown",
1433
"metadata": {},
@@ -130,10 +149,8 @@
130149
},
131150
{
132151
"cell_type": "code",
133-
"execution_count": 1,
134-
"metadata": {
135-
"collapsed": true
136-
},
152+
"execution_count": 2,
153+
"metadata": {},
137154
"outputs": [],
138155
"source": [
139156
"class Grid(object):\n",
@@ -172,14 +189,14 @@
172189
},
173190
{
174191
"cell_type": "code",
175-
"execution_count": 2,
192+
"execution_count": 3,
176193
"metadata": {},
177194
"outputs": [
178195
{
179196
"name": "stdout",
180197
"output_type": "stream",
181198
"text": [
182-
"Writing missao3.py\n"
199+
"Overwriting missao3.py\n"
183200
]
184201
}
185202
],
@@ -228,7 +245,7 @@
228245
},
229246
{
230247
"cell_type": "code",
231-
"execution_count": 3,
248+
"execution_count": 4,
232249
"metadata": {},
233250
"outputs": [
234251
{
@@ -274,7 +291,7 @@
274291
"name": "python",
275292
"nbconvert_exporter": "python",
276293
"pygments_lexer": "ipython3",
277-
"version": "3.6.5"
294+
"version": "3.7.6"
278295
}
279296
},
280297
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao4/missao4.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
"name": "python",
196196
"nbconvert_exporter": "python",
197197
"pygments_lexer": "ipython3",
198-
"version": "3.6.5"
198+
"version": "3.7.6"
199199
}
200200
},
201201
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao4/missao4.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ def main():
3030

3131

3232
if __name__ == '__main__':
33-
main()
33+
main()
34+

Cap08/DesafioDSA_Solucao/Missao4/missao4_solucao.ipynb

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@
99
"## Download: http://github.com/dsacademybr"
1010
]
1111
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 1,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"name": "stdout",
19+
"output_type": "stream",
20+
"text": [
21+
"Versão da Linguagem Python Usada Neste Jupyter Notebook: 3.7.6\n"
22+
]
23+
}
24+
],
25+
"source": [
26+
"# Versão da Linguagem Python\n",
27+
"from platform import python_version\n",
28+
"print('Versão da Linguagem Python Usada Neste Jupyter Notebook:', python_version())"
29+
]
30+
},
1231
{
1332
"cell_type": "markdown",
1433
"metadata": {},
@@ -74,10 +93,8 @@
7493
},
7594
{
7695
"cell_type": "code",
77-
"execution_count": 1,
78-
"metadata": {
79-
"collapsed": true
80-
},
96+
"execution_count": 2,
97+
"metadata": {},
8198
"outputs": [],
8299
"source": [
83100
"class SelectionSort(object):\n",
@@ -142,14 +159,14 @@
142159
},
143160
{
144161
"cell_type": "code",
145-
"execution_count": 2,
162+
"execution_count": 3,
146163
"metadata": {},
147164
"outputs": [
148165
{
149166
"name": "stdout",
150167
"output_type": "stream",
151168
"text": [
152-
"Writing missao4.py\n"
169+
"Overwriting missao4.py\n"
153170
]
154171
}
155172
],
@@ -192,7 +209,7 @@
192209
},
193210
{
194211
"cell_type": "code",
195-
"execution_count": 3,
212+
"execution_count": 4,
196213
"metadata": {},
197214
"outputs": [
198215
{
@@ -242,7 +259,7 @@
242259
"name": "python",
243260
"nbconvert_exporter": "python",
244261
"pygments_lexer": "ipython3",
245-
"version": "3.6.5"
262+
"version": "3.7.6"
246263
}
247264
},
248265
"nbformat": 4,

Cap08/DesafioDSA_Solucao/Missao5/dados_compras.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Cap08/DesafioDSA_Solucao/Missao5/missao5.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401
"name": "python",
402402
"nbconvert_exporter": "python",
403403
"pygments_lexer": "ipython3",
404-
"version": "3.6.5"
404+
"version": "3.7.6"
405405
}
406406
},
407407
"nbformat": 4,

0 commit comments

Comments
 (0)