3. OOP

parent 1f1271b4
This diff is collapsed.
...@@ -1431,7 +1431,7 @@ ...@@ -1431,7 +1431,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 37, "execution_count": 38,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1450,7 +1450,7 @@ ...@@ -1450,7 +1450,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 39,
"metadata": { "metadata": {
"scrolled": true "scrolled": true
}, },
...@@ -1485,6 +1485,7 @@ ...@@ -1485,6 +1485,7 @@
" <dl><dt><a name=\"-ejercicio4\"><strong>ejercicio4</strong></a>(minimo, maximo)</dt><dd><tt>Ejercicio&nbsp;4:&nbsp;Devuelve&nbsp;una&nbsp;lista&nbsp;de&nbsp;numeros&nbsp;enteros&nbsp;que&nbsp;tienen&nbsp;la&nbsp;característica&nbsp;de&nbsp;ser&nbsp;palíndromos&nbsp;y&nbsp;nones.&nbsp;Recibe&nbsp;como&nbsp;parámetro&nbsp;un&nbsp;valor&nbsp;único&nbsp;mínimo&nbsp;y&nbsp;otro&nbsp;máximo.</tt></dd></dl>\n", " <dl><dt><a name=\"-ejercicio4\"><strong>ejercicio4</strong></a>(minimo, maximo)</dt><dd><tt>Ejercicio&nbsp;4:&nbsp;Devuelve&nbsp;una&nbsp;lista&nbsp;de&nbsp;numeros&nbsp;enteros&nbsp;que&nbsp;tienen&nbsp;la&nbsp;característica&nbsp;de&nbsp;ser&nbsp;palíndromos&nbsp;y&nbsp;nones.&nbsp;Recibe&nbsp;como&nbsp;parámetro&nbsp;un&nbsp;valor&nbsp;único&nbsp;mínimo&nbsp;y&nbsp;otro&nbsp;máximo.</tt></dd></dl>\n",
" <dl><dt><a name=\"-ejercicio5\"><strong>ejercicio5</strong></a>(intentos<font color=\"#909090\">=2</font>)</dt><dd><tt>Ejercicio&nbsp;5:&nbsp;Programa&nbsp;que&nbsp;simula&nbsp;el&nbsp;juego&nbsp;del&nbsp;\"Ahorcado\".&nbsp;Tiene&nbsp;interacción&nbsp;con&nbsp;el&nbsp;usuario&nbsp;(máximo&nbsp;3)&nbsp;con&nbsp;ingresar&nbsp;la&nbsp;palabra&nbsp;y&nbsp;dos&nbsp;posibles&nbsp;soluciones&nbsp;(perder)&nbsp;o&nbsp;ganar.</tt></dd></dl>\n", " <dl><dt><a name=\"-ejercicio5\"><strong>ejercicio5</strong></a>(intentos<font color=\"#909090\">=2</font>)</dt><dd><tt>Ejercicio&nbsp;5:&nbsp;Programa&nbsp;que&nbsp;simula&nbsp;el&nbsp;juego&nbsp;del&nbsp;\"Ahorcado\".&nbsp;Tiene&nbsp;interacción&nbsp;con&nbsp;el&nbsp;usuario&nbsp;(máximo&nbsp;3)&nbsp;con&nbsp;ingresar&nbsp;la&nbsp;palabra&nbsp;y&nbsp;dos&nbsp;posibles&nbsp;soluciones&nbsp;(perder)&nbsp;o&nbsp;ganar.</tt></dd></dl>\n",
" <dl><dt><a name=\"-ejercicio6\"><strong>ejercicio6</strong></a>()</dt><dd><tt>Ejercicio&nbsp;6:&nbsp;Devuelve&nbsp;el&nbsp;conteo&nbsp;de&nbsp;número&nbsp;de&nbsp;palabras&nbsp;de&nbsp;un&nbsp;texto&nbsp;ingresado&nbsp;por&nbsp;el&nbsp;usuario.&nbsp;No&nbsp;recibe&nbsp;ningún&nbsp;parámetro&nbsp;ya&nbsp;que&nbsp;internamente&nbsp;se&nbsp;pide&nbsp;el&nbsp;texto&nbsp;para&nbsp;procesar.</tt></dd></dl>\n", " <dl><dt><a name=\"-ejercicio6\"><strong>ejercicio6</strong></a>()</dt><dd><tt>Ejercicio&nbsp;6:&nbsp;Devuelve&nbsp;el&nbsp;conteo&nbsp;de&nbsp;número&nbsp;de&nbsp;palabras&nbsp;de&nbsp;un&nbsp;texto&nbsp;ingresado&nbsp;por&nbsp;el&nbsp;usuario.&nbsp;No&nbsp;recibe&nbsp;ningún&nbsp;parámetro&nbsp;ya&nbsp;que&nbsp;internamente&nbsp;se&nbsp;pide&nbsp;el&nbsp;texto&nbsp;para&nbsp;procesar.</tt></dd></dl>\n",
" <dl><dt><a name=\"-ejercicio8\"><strong>ejercicio8</strong></a>()</dt><dd><tt>Ejercicio&nbsp;8:&nbsp;Devuelve&nbsp;cuadrados&nbsp;mágicos&nbsp;de&nbsp;tamaño&nbsp;definido&nbsp;por&nbsp;el&nbsp;usuario.&nbsp;No&nbsp;recibe&nbsp;ningún&nbsp;parámetro&nbsp;ya&nbsp;que&nbsp;internamente&nbsp;se&nbsp;pide&nbsp;el&nbsp;tamaño&nbsp;de&nbsp;la&nbsp;matriz.&nbsp;Ocupa&nbsp;la&nbsp;biblioteca&nbsp;Numpy.&nbsp;No&nbsp;está&nbsp;habilitado&nbsp;para&nbsp;matrices&nbsp;pares.</tt></dd></dl>\n",
"</td></tr></table>\n", "</td></tr></table>\n",
"</body></html>" "</body></html>"
], ],
...@@ -1492,7 +1493,7 @@ ...@@ -1492,7 +1493,7 @@
"<IPython.core.display.HTML object>" "<IPython.core.display.HTML object>"
] ]
}, },
"execution_count": 31, "execution_count": 39,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment