Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 50e9e2d

Browse files
fixing layout til ex 12
1 parent eccf27c commit 50e9e2d

File tree

23 files changed

+88
-82
lines changed

23 files changed

+88
-82
lines changed

‎exercises/04.1-count_on/README.es.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# `04.1` Contando
22

3-
43
Como has visto en el ejercicio anterior tu lista puede ser un a mezcla de `tipos de datos` que vamos a dividir y conquistar.
54

65
¿Serías tan amable de añadir todos los elementos con *data-type* `Dictionary` dentro de la lista `hello`?
76

7+
## 📝 Instrucciones:
8+
9+
1. Itera la lista dada.
10+
11+
2. Mete los tipos de datos encontrados en una nueva lista llamada `hello`.
12+
13+
3. Imprime la variable `hello`.
814

915
## 💡 Pista:
1016

@@ -16,15 +22,6 @@ my_list = [42, true, "towel", [2,1], 'hello', 34.4, {"name": "juan"}]
1622
for x in my_list:
1723
print(x)
1824
```
19-
20-
## 📝 Instrucciones:
21-
22-
1. Itera la lista dada.
23-
24-
2. Mete los tipos de datos encontrados en una nueva lista llamada `hello`.
25-
26-
3. Imprime la variable `hello`.
27-
2825
## Expected result::
2926

3027
```py

‎exercises/04.1-count_on/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
# `04.1` Count On
22

3-
43
As you saw in the last exercise your list can be a mix `types of data` we are going to divide and conquer.
54

65
Would you be so kind to add all the items with data-type Dictionary and List into the hello list?
76

7+
## 📝Instructions:
8+
9+
1. Loop the given list.
10+
11+
2. Push the data-types found to an new list called `hello`.
12+
13+
3. Print the variable `hello`.
14+
15+
## 💡 Hint :
816

9-
### 💡 Hint :
1017
Here is how to print ALL the items.
18+
1119
```py
1220
my_list = [42, true, "towel", [2,1], 'hello', 34.4, {"name": "juan"}]
1321

1422
for x in my_list:
1523
print(x)
1624
```
1725

18-
## 📝Instructions:
19-
20-
1. Loop the given list.
21-
22-
2. Push the data-types found to an new list called `hello`.
23-
24-
3. Print the variable `hello`.
25-
2626
## Expected result:
2727

2828
```py

‎exercises/05-Sum_all_items/README.es.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
```py
99
El resultado debería ser 925960
1010
```
11-
1211
## 💡 Pista:
1312

1413
+ Tienes que `iterar la lista entera` y sumar el valor de cada elemento en la variable `total`.

‎exercises/05-Sum_all_items/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
```py
99
The result should be 925960
1010
```
11-
1211
## 💡Hint:
1312

1413
+ You have to `loop the entire list` and add the value of each item into the "total" variable.

‎exercises/05.1-sum_odd_items/README.es.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
2. Devuleve e imprime el resultado.
99

10-
## :grey_exclamation: Para hacer este ejercicio, considera que:
10+
## Para hacer este ejercicio, considera que:
1111

12-
- Necesitas `declarar una variable auxiliar fuera del bucle` para llevar la suma de valores.
12+
- Debes `declarar una variable auxiliar fuera del bucle` para llevar la suma de valores.
1313

14-
- Crea una función
14+
- Crea una función.
1515

1616
- Tienes que `iterar la lista`.
1717

‎exercises/05.1-sum_odd_items/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
2. Returns and print the result.
99

10-
#:grey_exclamation: To do this exercise consider:
10+
## To do this exercise consider:
1111

1212
- You will need to `declare an auxiliar variable outside the loop` to keep adding the values.
1313

‎exercises/06.1-Everything_is_awesome/README.es.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
1. Compara el elemento. Si es 1 mete el número en la lista `new_list`.
66

77
2. Compara el elemento. Si es `0` mete "Yahoo" en la lista `new_list`, en lugar del número.
8-
9-
108
## Ejemplo:
119

1210
```py

‎exercises/07-Do_while/README.es.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ while x < 6:
1010
print(x)
1111
x += 1
1212
```
13-
1413
## 📝 Instrucciones:
1514

1615
1. Imprime cada número de iteración en la cónsola desde el `20` a `0`, pero `concatena un signo de exclamación` a la salida si el número es un módulo de `5`.
1716

18-
2. al final imrpime `LIFTOFF``
17+
2. al final imrpime `LIFTOFF`.
18+
19+
## 💡 Pista:
20+
21+
+ https://www.w3schools.com/python/python_while_loops.asp
1922

2023
## Resultado esperado:
2124

@@ -37,6 +40,4 @@ Ejemplo de salida en la consola:
3740
LIFTOFF
3841
```
3942

40-
## 💡 Pista:
4143

42-
+ https://www.w3schools.com/python/python_while_loops.asp

‎exercises/07-Do_while/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ while x < 6:
1616
1. Print every iteration number on the console from 20 to 0,
1717
but `concatenate an exclamation point` to the output if the number is a module of 5.
1818

19-
2. At the end print() `LIFTOFF``
19+
2. At the end print() `LIFTOFF`.
20+
21+
## 💡 Hint:
22+
23+
+ https://www.w3schools.com/python/python_while_loops.asp
2024

2125
## Expected result:
2226

@@ -38,6 +42,3 @@ Example Output on the console:
3842
LIFTOFF
3943
```
4044

41-
## 💡 Hint:
42-
43-
+ https://www.w3schools.com/python/python_while_loops.asp

‎exercises/08.1-Merge_list/README.es.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ Escribe una función que una dos listas y devuelva una nueva lista (`merge_list`
1414

1515
4. Imprime la variable con las dos listas.
1616

17+
## 💡 Pista:
18+
19+
- Tendrás que iterar cada lista e insertar sus elementos en una nueva lista.
1720
## Resultado esperado:
1821

1922
```py
2023
Salida esperada:
2124
['Lebron', 'Aaliyah', 'Diamond', 'Dominique', 'Aliyah', 'Jazmin', 'Darnell', 'Lucas', 'Jake', 'Scott', 'Amy', 'Molly', 'Hannah', 'Lucas']
2225
```
2326

24-
## 💡 Pista:
2527

26-
- Tendrás que iterar cada lista e insertar sus elementos en una nueva lista.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /