Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aayush/issue 236 #312

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions _sources/lectures/TWP15/TWP15_3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Contadores
+ Ahora imprima de 1 a un número ingresado por el usuario

.. activecode:: ac_l15_3a

:stdin:

fin = int(input("Ingrese el último número: "))
Expand All @@ -16,7 +15,6 @@ Contadores
+ Imprima números pares entre 0 y un número dado por el usuario usando ``if``

.. activecode:: ac_l15_3b

:stdin:

fin = int(input("Ingrese el último número: "))
Expand All @@ -31,7 +29,6 @@ Contadores
``if``

.. activecode:: ac_l15_3c
:nocodelens:
:stdin:

fin = int(input("Ingrese el último número: "))
Expand All @@ -45,7 +42,6 @@ Algunos ejercicios
------------------

.. activecode:: ac_l15_3d
:nocodelens:

Modifique el programa anterior para imprimir del 1 al número ingresado por el usuario,
pero esta vez solo los números impares.
Expand All @@ -54,7 +50,6 @@ Algunos ejercicios


.. activecode:: ac_l15_3e
:nocodelens:

Escriba un programa que imprima los primeros 10 múltiplos de 3.

Expand Down
3 changes: 0 additions & 3 deletions _sources/lectures/TWP15/TWP15_4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Acumuladores


.. activecode:: ac_l15_4a
:nocodelens:
:stdin:

n = 1
Expand All @@ -26,7 +25,6 @@ Acumuladores


.. activecode:: ac_l15_4b
:nocodelens:
:stdin:

n = 0
Expand Down Expand Up @@ -54,7 +52,6 @@ Acumuladores
+ Calcular el factorial de un número entero ``n``

.. activecode:: ac_l15_4c
:nocodelens:
:stdin:

i = 1
Expand Down
2 changes: 0 additions & 2 deletions _sources/lectures/TWP15/TWP15_5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Interrumpiendo la repetición


.. activecode:: ac_l15_5a
:nocodelens:
:stdin:

suma = 0
Expand All @@ -23,7 +22,6 @@ Interrumpiendo la repetición


.. activecode:: ac_l15_5b
:nocodelens:
:stdin:

suma = 0
Expand Down
1 change: 0 additions & 1 deletion _sources/lectures/TWP15/TWP15_6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Repeticiones anidadas


.. activecode:: ac_l15_6
:nocodelens:
:stdin:

tabla_de_multiplicar = 1
Expand Down
5 changes: 0 additions & 5 deletions _sources/lectures/TWP17/TWP17_4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Algunos ejemplos
+ Haga un programa que lea un vector de 5 números enteros y muestre vector.

.. activecode:: ac_l17_4a
:nocodelens:
:stdin:

vector = []
Expand All @@ -19,7 +18,6 @@ Algunos ejemplos
+ Haga un programa que lea un vector de diez números reales y los muestre en orden inverso

.. activecode:: ac_l17_4b
:nocodelens:
:stdin:

vector = []
Expand All @@ -36,7 +34,6 @@ Algunos ejemplos
+ Haga un programa que lea cuatro notas, muestre las notas y el promedio en pantalla

.. activecode:: ac_l17_4c
:nocodelens:
:stdin:

notas = []
Expand All @@ -56,7 +53,6 @@ Algunos ejemplos
+ Otra forma de hacer lo mismo.

.. activecode:: ac_l17_4d
:nocodelens:
:stdin:

notas = []
Expand All @@ -74,7 +70,6 @@ Algunos ejemplos
+ Haga un programa que lea un vector de 10 caracteres en minúscula, y diga cuántas consonantes se leyeron.

.. activecode:: ac_l17_4e
:nocodelens:
:stdin:

letras = []
Expand Down
4 changes: 0 additions & 4 deletions _sources/lectures/TWP18/TWP18_3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Una String no se puede modificar
--------------------------------

.. activecode:: ac_l18_3a
:nocodelens:
:stdin:

texto = " Hola mundo!"
Expand All @@ -19,7 +18,6 @@ Puedo crear nuevos strings


.. activecode:: ac_l18_3b
:nocodelens:
:stdin:

texto = "Hola mundo"
Expand All @@ -32,7 +30,6 @@ Puedo crear nuevos strings


.. activecode:: ac_l18_3c
:nocodelens:
:stdin:

palabra = input("Palabra: ")
Expand All @@ -51,7 +48,6 @@ Ejercicio
---------

.. activecode:: ac_l18_3d
:nocodelens:
:stdin:

Ahora haga un programa que lea una palabra, la guarde en la variable ``palabra``,
Expand Down
1 change: 0 additions & 1 deletion _sources/lectures/TWP23/TWP23_3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Validar dirección IP


.. activecode:: ac_l23_3
:nocodelens:
:datafile: Validos.txt, Invalidos.txt

def ip_ok(ip):
Expand Down
1 change: 0 additions & 1 deletion _sources/lectures/TWP23/TWP23_4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ HTML


.. activecode:: ac_l23_4
:nocodelens:
:datafile: hola.html

Pruebe el programa anterior.
Expand Down
1 change: 0 additions & 1 deletion _sources/lectures/TWP23/TWP23_6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


.. activecode:: ac_l23_6
:nocodelens:
:available_files: alice_archivo.txt
:Language: python

Expand Down
1 change: 0 additions & 1 deletion _sources/lectures/TWP30/TWP30_2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Adivinando números
------------------

.. activecode:: ac_l30_2
:nocodelens:
:stdin:

print("Bienvenido!")
Expand Down
Loading