Skip to content

Commit 64bc680

Browse files
committed
reviewing module1-learning-unit6-es
1 parent c6dda9d commit 64bc680

1 file changed

Lines changed: 42 additions & 36 deletions

File tree

data/modules/module1/learning-units/learning-unit6/learning-unit6-es.json

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Entrada de datos con <code class=\"language-python\">input()</code>",
2+
"title": "Entrada de Datos con <code class=\"language-python\">input()</code>",
33
"description": "",
44
"content": [
55
{
@@ -17,9 +17,9 @@
1717
{
1818
"type": "list",
1919
"items": [
20-
"Muestra un mensaje (si se lo das)",
21-
"Espera a que el usuario escriba algo",
22-
"Devuelve lo escrito como una cadena de texto (<code class=\"language-python\">str</code>)"
20+
"Muestra un mensaje (si se lo das).",
21+
"Espera a que el usuario escriba algo.",
22+
"Devuelve lo escrito como una cadena de texto (<code class=\"language-python\">str</code>)."
2323
]
2424
},
2525
{
@@ -49,7 +49,7 @@
4949
},
5050
{
5151
"type": "subtitle1",
52-
"text": "Convertir lo que ingresa el usuario"
52+
"text": "Convertir lo Que Ingresa el Usuario"
5353
},
5454
{
5555
"type": "paragraph",
@@ -106,7 +106,7 @@
106106
},
107107
{
108108
"type": "subtitle1",
109-
"text": "Procesar datos ingresados"
109+
"text": "Procesar Datos Ingresados"
110110
},
111111
{
112112
"type": "paragraph",
@@ -131,45 +131,45 @@
131131
},
132132
{
133133
"type": "subtitle1",
134-
"text": "Errores comunes con <code class=\"language-python\">input()</code>"
134+
"text": "Errores Comunes Con <code class=\"language-python\">input()</code>"
135135
},
136136
{
137137
"type": "subtitle2",
138-
"text": "1. Olvidar que devuelve texto"
138+
"text": "1. Olvidar Que Devuelve Texto"
139139
},
140140
{
141141
"type": "code",
142142
"text": "n = input(\"Número: \")\nprint(n + 10) # ERROR"
143143
},
144144
{
145145
"type": "test-button",
146-
"text": "Probar error >>",
146+
"text": "Probar Error >>",
147147
"code": "n = input(\"Número: \")\nprint(n + 10) # ERROR"
148148
},
149149
{
150150
"type": "subtitle2",
151-
"text": "2. Tratar de convertir un texto no válido"
151+
"text": "2. Tratar de Convertir un Texto No Válido"
152152
},
153153
{
154154
"type": "code",
155-
"text": "int(\"hola\") # ERROR"
155+
"text": "text = input(\"Input: \") # Input: hello\nint(text) # ERROR"
156156
},
157157
{
158158
"type": "test-button",
159-
"text": "Probar error >>",
160-
"code": "int(\"hola\")"
159+
"text": "Probar Error >>",
160+
"code": "text = input(\"Input: \") # Input: hello\nint(text) # ERROR"
161161
},
162162
{
163163
"type": "note",
164164
"text": "📌 <strong>Nota:</strong><br>Más adelante aprenderás a manejar estos errores con <code class=\"language-python\">try</code> y <code class=\"language-python\">except</code>."
165165
},
166166
{
167167
"type": "subtitle1",
168-
"text": "Ejemplos útiles"
168+
"text": "Ejemplos Útiles"
169169
},
170170
{
171171
"type": "subtitle2",
172-
"text": "Ejemplo 1: Saludo personalizado"
172+
"text": "Ejemplo 1: Saludo Personalizado"
173173
},
174174
{
175175
"type": "code",
@@ -190,7 +190,7 @@
190190
},
191191
{
192192
"type": "subtitle2",
193-
"text": "Ejemplo 2: Suma interactiva"
193+
"text": "Ejemplo 2: Suma Interactiva"
194194
},
195195
{
196196
"type": "code",
@@ -211,11 +211,11 @@
211211
},
212212
{
213213
"type": "subtitle2",
214-
"text": "Ejemplo 3: Repetición con texto"
214+
"text": "Ejemplo 3: Repetición Con Texto"
215215
},
216216
{
217217
"type": "code",
218-
"text": "palabra = input(\"Escribe uan palabra: \")\nprint(palabra * 3)"
218+
"text": "palabra = input(\"Escribe una palabra: \")\nprint(palabra * 3)"
219219
},
220220
{
221221
"type": "paragraph",
@@ -225,17 +225,23 @@
225225
"type": "code",
226226
"text": "Escribe una palabra: Python\nPythonPythonPython"
227227
},
228+
{
229+
"type": "test-button",
230+
"text": "Probar >>",
231+
"code": "palabra = input(\"Escribe una palabra: \")\nprint(palabra * 3)"
232+
233+
},
228234
{
229235
"type": "tip",
230236
"text": "⭐ <strong>Tip:</strong><br>Cuando repites una cadena, no se agregan espacios automáticamente."
231237
},
232238
{
233239
"type": "subtitle1",
234-
"text": "Ejercicios"
240+
"text": "Ejercicios Para Practicar"
235241
},
236242
{
237243
"type": "subtitle2",
238-
"text": "Ejercicio 1: Saludo simple"
244+
"text": "Ejercicio 1: Saludo Simple"
239245
},
240246
{
241247
"type": "paragraph",
@@ -256,14 +262,14 @@
256262
},
257263
{
258264
"type": "test-button",
259-
"text": "Probar solución >>",
265+
"text": "Probar Solución >>",
260266
"code": "nombre = input(\"Escribe tu nombre: \")\nprint(\"Hola\", nombre)"
261267
}
262268
]
263269
},
264270
{
265271
"type": "subtitle2",
266-
"text": "Ejercicio 2: Edad en el futuro"
272+
"text": "Ejercicio 2: Edad en el Futuro"
267273
},
268274
{
269275
"type": "paragraph",
@@ -272,7 +278,7 @@
272278
{
273279
"type": "test-button",
274280
"text": "Practicar >>",
275-
"code": "# Pídele al usuario su nombre y muéstrale un saludo"
281+
"code": "# Pídele al usuario su edad y dile cuántos años\n# tendrá en 5 años"
276282
},
277283
{
278284
"type": "collapsible",
@@ -284,14 +290,14 @@
284290
},
285291
{
286292
"type": "test-button",
287-
"text": "Probar solución >>",
293+
"text": "Probar Solución >>",
288294
"code": "edad = int(input(\"¿Cuántos años tienes? \"))\nprint(\"En 5 años tendrás\", edad + 5)"
289295
}
290296
]
291297
},
292298
{
293299
"type": "subtitle2",
294-
"text": "Ejercicio 3: Multiplicador de palabras"
300+
"text": "Ejercicio 3: Multiplicador de Palabras"
295301
},
296302
{
297303
"type": "paragraph",
@@ -300,7 +306,7 @@
300306
{
301307
"type": "test-button",
302308
"text": "Practicar >>",
303-
"code": "# Pídele al usuario una palabra y un número. Muestra la palabra repetida ese número de veces"
309+
"code": "# Pídele al usuario una palabra y un número.\n# Muestra la palabra repetida ese número de veces"
304310
},
305311
{
306312
"type": "collapsible",
@@ -312,14 +318,14 @@
312318
},
313319
{
314320
"type": "test-button",
315-
"text": "Probar solución >>",
321+
"text": "Probar Solución >>",
316322
"code": "palabra = input(\"Escribe una palabra: \")\ncantidad = int(input(\"¿Cuántas veces quieres repetirla? \"))\nprint(palabra * cantidad)"
317323
}
318324
]
319325
},
320326
{
321327
"type": "subtitle2",
322-
"text": "Ejercicio 4: Conversión de grados"
328+
"text": "Ejercicio 4: Conversión de Grados"
323329
},
324330
{
325331
"type": "paragraph",
@@ -328,7 +334,7 @@
328334
{
329335
"type": "test-button",
330336
"text": "Practicar >>",
331-
"code": "# Pídele al usuario una temperatura en grados Celsius y conviértelos a Fahrenheit (Muéstraselo al usuario)"
337+
"code": "# Pídele al usuario una temperatura en grados\n# Celsius y conviértelos a Fahrenheit\n# (Muéstraselo al usuario)"
332338
},
333339
{
334340
"type": "collapsible",
@@ -340,14 +346,14 @@
340346
},
341347
{
342348
"type": "test-button",
343-
"text": "Probar solución >>",
349+
"text": "Probar Solución >>",
344350
"code": "c = float(input(\"Temperatura en Celsius: \"))\nf = (c * 9 / 5) + 32\nprint(\"Equivalen a\", f, \"°F\")"
345351
}
346352
]
347353
},
348354
{
349355
"type": "subtitle1",
350-
"text": "Conclusión del tema"
356+
"text": "Conclusiones de la Unidad"
351357
},
352358
{
353359
"type": "paragraph",
@@ -356,11 +362,11 @@
356362
{
357363
"type": "list",
358364
"items": [
359-
"A usar <code class=\"language-python\">input()</code> para recibir texto desde el teclado",
360-
"Que todo lo que devuelve <code class=\"language-python\">input</code> es string (<code class=\"language-python\">str</code>)",
361-
"A convertir esos textos a números usando <code class=\"language-python\">int()</code> y <code class=\"language-python\">float()</code>",
362-
"A procesar la información ingresada para realizar cálculos o personalizar mensajes",
363-
"A evitar errores comunes como mezclar texto y números"
365+
"A usar <code class=\"language-python\">input()</code> para recibir texto desde el teclado.",
366+
"Que todo lo que devuelve <code class=\"language-python\">input</code> es string (<code class=\"language-python\">str</code>).",
367+
"A convertir esos textos a números usando <code class=\"language-python\">int()</code> y <code class=\"language-python\">float()</code>.",
368+
"A procesar la información ingresada para realizar cálculos o personalizar mensajes.",
369+
"A evitar errores comunes como mezclar texto y números."
364370
]
365371
}
366372
]

0 commit comments

Comments
 (0)