Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tap1012
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
tap1012
Commits
45af6c61
Commit
45af6c61
authored
Feb 08, 2019
by
Carlos David García Hernández
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recuperar
parent
a7a5bae4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
+69
-0
02-Comprehension&Documentation.ipynb
02-Comprehension&Documentation.ipynb
+69
-0
No files found.
02-Comprehension&Documentation.ipynb
View file @
45af6c61
...
@@ -1428,6 +1428,75 @@
...
@@ -1428,6 +1428,75 @@
"from IPython.display import HTML\n",
"from IPython.display import HTML\n",
"HTML(filename=\"miModulo/tarea2_ejercicios1.html\")"
"HTML(filename=\"miModulo/tarea2_ejercicios1.html\")"
]
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"wrote Test1.html\n"
]
}
],
"source": [
"%%bash\n",
"cd miModulo\n",
"pydoc -w Test1"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
\n",
"
<html><head><title>
Python: module Test1
</title>
\n",
"
<meta
charset=
\"utf-8\"
>
\n",
"
</head><body
bgcolor=
\"#f0f0f8\"
>
\n",
"\n",
"
<table
width=
\"100%\"
cellspacing=
0
cellpadding=
2
border=
0
summary=
\"heading\"
>
\n",
"
<tr
bgcolor=
\"#7799ee\"
>
\n",
"
<td
valign=
bottom
>
 
<br>
\n",
"
<font
color=
\"#ffffff\"
face=
\"helvetica,
arial
\"
>
 
<br><big><big><strong>
Test1
</strong></big></big></font></td
\n",
"
><td
align=
right
valign=
bottom\n",
"
><font
color=
\"#ffffff\"
face=
\"helvetica,
arial
\"
><a
href=
\".\"
>
index
</a><br><a
href=
\"file:/home/carlosgarcia8/repos/tap1012/miModulo/Test1.py\"
>
/home/carlosgarcia8/repos/tap1012/miModulo/Test1.py
</a></font></td></tr></table>
\n",
"
<p><tt>
Documentación
 
para
 
el
 
test
 
1
 
de
 
la
 
materia
 
de
 
Tópicos
 
Avanzados
 
de
 
Programación.
<br>
\n",
"Maestría
 
GeoInteligencia
 
Computacional
 
a
 
27
 
de
 
Enero
 
del
 
2019.
</tt></p>
\n",
"
<p>
\n",
"
<table
width=
\"100%\"
cellspacing=
0
cellpadding=
2
border=
0
summary=
\"section\"
>
\n",
"
<tr
bgcolor=
\"#eeaa77\"
>
\n",
"
<td
colspan=
3
valign=
bottom
>
 
<br>
\n",
"
<font
color=
\"#ffffff\"
face=
\"helvetica,
arial
\"
><big><strong>
Functions
</strong></big></font></td></tr>
\n",
" \n",
"
<tr><td
bgcolor=
\"#eeaa77\"
><tt>
      
</tt></td><td>
 
</td>
\n",
"
<td
width=
\"100%\"
><dl><dt><a
name=
\"-ejercicio1\"
><strong>
ejercicio1
</strong></a>
(lista)
</dt><dd><tt>
Ejercicio
 
1:
 
Devuelve
 
el
 
promedio
 
de
 
todos
 
los
 
elemntos
 
de
 
una
 
lista.
 
Recibe
 
como
 
parametro
 
una
 
lista
 
y
 
devuelve
 
un
 
valor
 
único.
</tt></dd></dl>
\n",
"
<dl><dt><a
name=
\"-ejercicio2\"
><strong>
ejercicio2
</strong></a>
(lista, numero)
</dt><dd><tt>
Ejercicio
 
2:
 
Devuelve
 
todos
 
los
 
numeros
 
del
 
campo
 
de
 
los
 
numeros
 
enteros
 
divisibles
 
por
 
un
 
valor
 
que
 
el
 
usuario
 
determina.
 
Recibe
 
como
 
parametro
 
una
 
lista
 
y
 
un
 
divisor
 
y
 
devuelve
 
una
 
lista
 
de
 
valores.
</tt></dd></dl>
\n",
"
<dl><dt><a
name=
\"-ejercicio3\"
><strong>
ejercicio3
</strong></a>
(numero)
</dt><dd><tt>
Ejercicio
 
3:
 
Devuelve
 
el
 
factorial
 
de
 
un
 
número
 
ingresado
 
por
 
el
 
usuario.
 
Recibe
 
como
 
parámetro
 
un
 
valor
 
único
 
y
 
devuelve
 
otro
 
valor
 
único
</tt></dd></dl>
\n",
"
<dl><dt><a
name=
\"-ejercicio4\"
><strong>
ejercicio4
</strong></a>
(minimo, maximo)
</dt><dd><tt>
Ejercicio
 
4:
 
Devuelve
 
una
 
lista
 
de
 
numeros
 
enteros
 
que
 
tienen
 
la
 
característica
 
de
 
ser
 
palíndromos
 
y
 
nones.
 
Recibe
 
como
 
parámetro
 
un
 
valor
 
único
 
mínimo
 
y
 
otro
 
máximo.
</tt></dd></dl>
\n",
"
</td></tr></table>
\n",
"
</body></html>
"
],
"text/plain": [
"
<IPython
.
core
.
display
.
HTML
object
>
"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from IPython.display import HTML\n",
"HTML(filename=\"miModulo/Test1.html\")"
]
}
}
],
],
"metadata": {
"metadata": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment