Skip to content

Commit 6125fd3

Browse files
Merge pull request #25 from ElviraQDP/layout
learnpack/learnpack#537 til ex 20
2 parents 3abcd1d + 823b9dd commit 6125fd3

File tree

42 files changed

+510
-350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+510
-350
lines changed

exercises/01-welcome/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Bienvenid@ a Python!
22

33
¡¡Nos estusiasma mucho tenerte aquí!! 🎉 😂
4-
Presiona `Next` `Next` de arriba a la derecha cuando quieras empezar.
4+
Presiona `Next →` de arriba a la derecha cuando quieras empezar.

exercises/01-welcome/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Welcome to Python!
22

33
We are very excited to have you here !! 🎉 😂
4-
Click `next` on the top right of this instructions when you are ready to start.
4+
Click `Next →` on the top right of this instructions when you are ready to start.

exercises/02-hello-world/README.es.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
En Python, usamos `print` para hacer que el computador escriba cualquier cosa que queramos (el contenido de una variable, un texto dado, etc.) in algo llamado `la consola`.
44

5-
Cada idioma tiene funciones para integrarse con la consola, ya que al principio era la única forma de interactuar con los usuarios (antes de que llegara Windows o MacOS o Linux). Hoy en día, la impresión en la consola se utiliza sobre todo como herramienta de monitorización, ideal para dejar un rastro del contenido de las variables durante la ejecución del programa.
5+
Cada idioma tiene funciones para integrarse con la consola, ya que al principio era la única forma de interactuar con los usuarios (antes de que llegara Windows o MacOS o Linux).
6+
7+
Hoy en día, la impresión en la consola se utiliza sobre todo como herramienta de monitorización, ideal para dejar un rastro del contenido de las variables durante la ejecución del programa.
68

79
Este es un ejemplo de cómo usarlo:
810
```py
@@ -11,9 +13,9 @@ print("How are you?")
1113

1214
## 📝 Instrucciones:
1315

14-
Usa la función `print()` para escribir "Hello World" en la consola. Siéntete libre de intentar otras cosas también.
16+
1. Usa la función `print()` para escribir "Hello World" en la consola. Siéntete libre de intentar otras cosas también.
1517

16-
## 💡 Información adicional:
18+
## 💡 Pista:
1719

1820
Video de 5 minutos sobre la consola:
1921
https://www.youtube.com/watch?v=vROGBvX_MHQ

exercises/02-hello-world/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
In Python, we use `print` to make the computer write anything we want (the content of a variable, a given string, etc.) in something called "the console".
44

5-
Every language has a console, as it was the only way to interact with the users at the beginning (before the Windows or MacOS arrived). Today, printing in the console is used mostly as a monitoring tool, ideal to leave a trace of the content of variables during the program execution.
5+
Every language has a console, as it was the only way to interact with the users at the beginning (before the Windows or MacOS arrived).
6+
7+
Today, printing in the console is used mostly as a monitoring tool, ideal to leave a trace of the content of variables during the program execution.
68

79
This is an example of how to use it:
810
```py
@@ -11,11 +13,9 @@ print("How are you?")
1113

1214
## 📝 Instructions:
1315

14-
```md
15-
Use the `print()` function to print `"Hello World"` on the console. Feel free to try other things as well.
16-
```
16+
1. Use the `print()` function to print `"Hello World"` on the console. Feel free to try other things as well.
1717

18-
## 💡 Additional info:
18+
## 💡 Hint:
1919

2020
5 minutes video about the console:
2121
https://www.youtube.com/watch?v=1RlkftxAo-M

exercises/03-sum_of_three_numbers/README.es.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
## 📝 Instrucciones:
44

5-
**Planteamiento**
6-
Obteniendo tres números de la entrada, imprime su suma. Cada número es dado en una línea aparte.
5+
1. Obteniendo tres números de la entrada, imprime su suma. Cada número es dado en una línea aparte.
6+
7+
### Ejemplo de entrada:
78

8-
**Ejemplo de entrada**
99
- 2
1010
- 3
1111
- 6
1212

13-
**Ejemplo de salida**
13+
### Ejemplo de salida:
14+
1415
- 11
1516

exercises/03-sum_of_three_numbers/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
## 📝 Instructions:
44

5-
**Statement**
6-
Taking 3 numbers from the input, print their sum. Every number is given on a separate line.
5+
1. Taking 3 numbers from the input, print their sum. Every number is given on a separate line.
6+
7+
### Example input:
78

8-
**Example input**
99
- 2
1010
- 3
1111
- 6
1212

13-
**Example output**
13+
### Example output:
14+
1415
- 11
1516

exercises/04-area_of_right_triangle/README.es.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22

33
## 📝 Instrucciones:
44

5-
Escribe un programa que lea la longitud de la base y la altura de un triángulo rectángulo e imprima su área. Cada número es dado en una línea por separado.
5+
1. Escribe un programa que lea la longitud de la base y la altura de un triángulo rectángulo e imprima su área. Cada número es dado en una línea por separado.
66

77
![Imagen descriptiva](http://i.imgur.com/6EkzVxA.jpg)
88

9-
**Ejemplo de entrada**
9+
### Ejemplo de entrada:
10+
1011
* 3
1112
* 5
1213

13-
**Ejemplo de salida**
14+
### Ejemplo de salida:
15+
1416
* 7.5
1517

16-
**Teoría**
18+
## 💡 Pista:
1719

18-
Si no sabes cómo empezar la solución a este problema, por favor, revisa la teoría en esta lección:
20+
+ Si no sabes cómo empezar la solución a este problema, por favor, revisa la teoría en esta lección:
1921
https://snakify.org/lessons/print_input_numbers/
2022

21-
También puedes intentar paso a paso con trozos de la teoría:
23+
+ También puedes intentar paso a paso con trozos de la teoría:
2224
https://snakify.org/lessons/print_input_numbers/steps/1/

exercises/04-area_of_right_triangle/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
## 📝 Instructions:
44

5-
Write a program that reads the length of the base and the height of a right-angled triangle and prints the area. Every number is given on a separate line.
5+
1. Write a program that reads the length of the base and the height of a right-angled triangle and prints the area. Every number is given on a separate line.
66

77
![Image description](http://i.imgur.com/6EkzVxA.jpg)
88

9-
**Example input**
10-
* 3
11-
* 5
9+
### Example input:
1210

13-
**Example output**
14-
* 7.5
11+
+ 5
1512

16-
**Theory**
13+
### Example output:
1714

18-
If you don't know how to start solving this assignment, please, review a theory for this lesson:
15+
+ 7.5
16+
17+
## 💡 Hint:
18+
19+
+ If you don't know how to start solving this assignment, please, review a theory for this lesson:
1920
https://snakify.org/lessons/print_input_numbers/
2021

21-
You may also try step-by-step theory chunks:
22+
+ You may also try step-by-step theory chunks:
2223
https://snakify.org/lessons/print_input_numbers/steps/1/

exercises/05-hello_harry/README.es.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,22 @@
22

33
## 📝 Instrucciones:
44

5-
Escribe un programa que salude al usuario imprimiendo la palabra "Hola", una coma, el nombre del usuario y un signo de exclamación después de él. Ve los ejemplos a continuación.
5+
1. Escribe un programa que salude al usuario imprimiendo la palabra `Hello`, una coma, el nombre del usuario y un signo de exclamación después de él. Ve los ejemplos a continuación.
66

7-
**Advertencia.** La salida de tu programa debe coincidir estrictamente con la deseada, caracter por caracter. No debe haber ningún espacio entre el nombre y el signo de exclamación. Puedes usar el operador + para concatenar dos cadenas de texto. Ve la lección para más detalles.
7+
La salida de tu programa debe coincidir estrictamente con la deseada, caracter por caracter. No debe haber ningún espacio entre el nombre y el signo de exclamación. Puedes usar el operador + para concatenar dos cadenas de texto. Ve la lección para más detalles.
88

9-
**Ejemplo de entrada**
10-
* Harry
9+
### Ejemplo de entrada:
1110

12-
**Ejemplo de salida**
13-
* Hello, Harry!
11+
+ Harry
1412

15-
**Teoría**
16-
Si no sabes cómo empezar la solución a esta asignación, por favor, revisa la teoría en esta lección:
13+
### Ejemplo de salida:
14+
15+
+ Hello, Harry!
16+
17+
## 💡 Pista:
18+
19+
+ Si no sabes cómo empezar la solución a esta asignación, por favor, revisa la teoría en esta lección:
1720
https://snakify.org/lessons/print_input_numbers/
1821

19-
También puedes intentar paso a paso con trozos de la teoría:
22+
+ También puedes intentar paso a paso con trozos de la teoría:
2023
https://snakify.org/lessons/print_input_numbers/steps/1/

exercises/05-hello_harry/README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@
22

33
## 📝 Instructions:
44

5-
Write a program that greets the user by printing the word "Hello", a comma, the name of the user and an exclamation mark after it. See the examples below.
5+
1. Write a program that greets the user by printing the word `Hello`, a comma, the name of the user and an exclamation mark after it. See the examples below.
66

7-
**Warning.** Your program's output should strictly match the desired one, character by character. There shouldn't be any space between the name and the exclamation mark. You can use + operator to concatenate two strings. See the lesson for details.
7+
Your program's output should strictly match the desired one, character by character. There shouldn't be any space between the name and the exclamation mark. You can use + operator to concatenate two strings. See the lesson for details.
88

99

10-
**Example input**
11-
* Harry
10+
### Example input:
1211

13-
**Example output**
14-
* Hello, Harry!
12+
+ Harry
1513

16-
**Theory**
17-
If you don't know how to start solving this assignment, please, review a theory for this lesson:
14+
### Example output:
15+
16+
+ Hello, Harry!
17+
18+
## 💡 Hint:
19+
20+
+ If you don't know how to start solving this assignment, please, review a theory for this lesson:
1821
https://snakify.org/lessons/print_input_numbers/
1922

20-
You may also try step-by-step theory chunks:
23+
+ You may also try step-by-step theory chunks:
2124
https://snakify.org/lessons/print_input_numbers/steps/1/

0 commit comments

Comments
 (0)