You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.es.md
+22-25
Original file line number
Diff line number
Diff line change
@@ -3,56 +3,53 @@
3
3
4
4
Por <ahref="https://twitter.com/alesanchezr">@alesanchezr</a> y <ahref="https://github.com/4GeeksAcademy/python-beginner-programming-exercises/graphs/contributors">otros colaboradores</a> en <ahref="http://4geeksacademy.co/">4Geeks Academy</a><ahref="https://www.4geeksacademy.com"><imgheight="280"align="right"src="https://github.com/ElviraQDP/python-beginner-programming-exercises/blob/master/badge-python-bg.png"></a>
5
5
<!-- endhide -->
6
+
6
7
Esta serie en particular es para principiantes de Python. Aprenderás los siguientes conceptos:
7
8
8
-
1. La función `print`,
9
+
1. La función `print`.
9
10
10
-
2.tipos de datos,
11
+
2.Tipos de datos.
11
12
12
-
3.listas y tuplas
13
+
3.Listas y tuplas.
13
14
14
-
4.funciones y diccionarios.
15
+
4.Funciones y diccionarios.
15
16
16
-
Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente y con 📹 videos tutoriales.
17
+
Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente, y con 📹 video tutoriales.
17
18
18
19
19
-
¡Te necesitamos! Estos ejercicios se crean y mantienen con colaboradores como tú. Si encuentra salgún error o falta de ortografía, contribuye y/o infórmanos.
20
+
¡Te necesitamos! Estos ejercicios se crean y mantienen con colaboradores como tú. Si encuentras algún error o falta de ortografía, contribuye y/o infórmanos.
Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Codespaces](https://codespaces.new/?repo=4GeeksAcademy/python-beginner-programming-exercises) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises).
30
27
31
-
> Una vez ya tengas abirto VSCode los ejercicios de LearnPack deberían empezar automáticamente, si esto no sucede puedes intentar empezar los ejercicios escribiendo este comando en tu terminal: `$ learnpack start`
28
+
> Una vez ya tengas abierto VSCode, los ejercicios de LearnPack deberían empezar automáticamente, si esto no sucede puedes intentar empezar los ejercicios escribiendo este comando en tu terminal: `$ learnpack start`
32
29
33
30
## Instalación local:
34
31
35
32
Clona el repositorio en tu ambiente local y sigue los siguientes pasos:
36
33
37
-
1. Instala learnpack, el package manager para tutoriales y el plugin compilador de html para learnpack, asegúrate de tener instalado node.js 14+:
34
+
1. Instala LearnPack, el package manager para tutoriales y el plugin compilador de HTML para LearnPack, asegúrate de tener instalado node.js 14+:
38
35
39
-
```
36
+
```bash
40
37
$ npm i learnpack -g
41
38
$ learnpack plugins:install learnpack-python
42
39
```
43
40
44
-
2. Descarga este ejercicio en particular usando learnpack y `cd` dentro de la carpeta:
41
+
2. Descarga estos ejercicios en particular usando LearnPack y `cd` dentro de la carpeta:
> Nota: Una vez que termines de descargarlo, encontrarás una carpeta llamada "exercises" que contiene los ejercicios.
48
+
Nota: Una vez que termines de descargarlo, encontrarás una carpeta llamada "exercises" que contiene los ejercicios.
52
49
53
-
3. Inicializa el tutorial/exercises ejecutando el siguiente comando al mismo nivel en el que se encuentra tu archivo bc.json:
50
+
3. Inicializa el tutorial ejecutando el siguiente comando al mismo nivel en el que se encuentra tu archivo learn.json:
54
51
55
-
```sh
52
+
```bash
56
53
$ pip3 install pytest==4.4.2 pytest-testdox mock
57
54
$ learnpack start
58
55
```
@@ -62,22 +59,22 @@ $ learnpack start
62
59
63
60
## ¿Cómo están organizados los ejercicios?
64
61
65
-
Cada ejercicio es una pequeña aplicación de react que contiene los siguientes archivos:
62
+
Cada ejercicio es una pequeña aplicación de React que contiene los siguientes archivos:
66
63
67
-
1.**app.py:** representa el archivo de entrada de python que será ejecutado por el computador.
64
+
1.**app.py:** representa el archivo de entrada de Python que será ejecutado por el computador.
68
65
2.**README.es.md:** Contiene las instrucciones del ejercicio.
69
-
3.**test.py:** Contiene el script del test para el ejercicio (no es necesario que abras este archivo)
66
+
3.**test.py:** Contiene el script del test para el ejercicio (no es necesario que abras este archivo).
70
67
71
-
> Nota: Los ejercicios tienen tests automatizados, sin embargo, estos suelen ser muy rígidos y estrictos. Mi recomendación es que utilices los tests como recomendación o puedes frustrarte.
68
+
> Nota: Estos ejercicios tienen calificación automática. Los tests son muy rígidos y estrictos, mi recomendación es que no prestes demasiada atención a los tests y los uses solo como una sugerencia o podrías frustrarte.
72
69
73
70
## Colaboradores
74
71
75
72
Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas!
82
79
83
-
Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Curso de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
80
+
Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Cursos de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
*Estas instrucciones [están disponibles en 🇪🇸 español](https://github.com/Lorenagubaira/python-beginner-programming-exercises/blob/master/README.es.md):es:*
10
+
*Estas instrucciones [están disponibles en 🇪🇸 español](https://github.com/4GeeksAcademy/python-beginner-programming-exercises/blob/master/README.es.md):es:*
11
11
<!-- endhide -->
12
12
13
-
This exercises are the ideal first step for anyone trying to learn Python, we start from the most simple challenge like printing a message on the terminal and slowly increase step by step.
13
+
These exercises are the ideal first step for anyone trying to learn Python. We start with the most simple challenge, like printing a message on the terminal and slowly increase step by step.
14
14
15
-
This particular series are for Python beginners. You will learn:
15
+
This particular series is for Python beginners. You will learn:
16
16
17
-
1. The `print` function,
17
+
1. The `print` function.
18
18
19
-
2. Data-Types,
19
+
2. Data-Types.
20
20
21
-
3. Lists and Tuples,
21
+
3. Lists and Tuples.
22
22
23
23
4. Functions and dictionaries.
24
24
25
-
The entire tutorial is 👆 interactive, ✅ auto-graded and with 📹 video tutorials.
25
+
The entire tutorial is 👆 interactive, ✅ auto-graded, and has 📹 video tutorials.
26
26
27
-
These exercises were built in collaboration, we need you! If you find any bugs or misspells plese contribute and report them.
27
+
These exercises were built in collaboration, we need you! If you find any bugs or misspellings please contribute and report them.
28
28
29
29
<!-- hide -->
30
30
31
31
## One click installation (recommended):
32
32
33
33
You can open these exercises in just a few seconds by clicking: [Open in Codespaces](https://codespaces.new/?repo=4GeeksAcademy/python-beginner-programming-exercises) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises).
34
34
35
-
> Once you have VSCode open the LearnPack exercises should start automatically. If exercises don't run automatically you can try typing on your terminal: `$ learnpack start`
35
+
> Once you have VSCode open, the LearnPack exercises should start automatically. If exercises don't run automatically, you can try typing on your terminal: `$ learnpack start`
36
36
37
37
## Local Installation
38
38
39
39
Clone the repository in your local environment and follow the steps below:
40
40
41
-
1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+:
41
+
1. Install LearnPack, the package manager for learning tutorials, and the HTML compiler plugin for LearnPack. Make sure you also have node.js 14+:
42
42
43
-
```
43
+
```bash
44
44
$ npm i learnpack -g
45
45
$ learnpack plugins:install learnpack-python
46
46
```
47
47
48
-
2. Download this particular exercise using learnpack and `cd` into the folder:
48
+
2. Download these particular exercises using LearnPack and `cd` into the folder:
Each exercise is a small react application containing the following files:
68
+
Each exercise is a small React application containing the following files:
70
69
71
-
1.**app.py:** represents the entry python file that will be executed by the computer.
70
+
1.**app.py:** represents the entry Python file that will be executed by the computer.
72
71
2.**README.md:** contains exercise instructions.
73
72
3.**test.py:** you don't have to open this file, it contains the testing script for the exercise.
74
73
75
-
> Note: The exercises have automatic grading but its very rigid and string, my recomendation is to ignore the tests and use them only as a recomendation or you can get frustrated.
74
+
> Note: The exercises have automatic grading, but it's very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion, or you may get frustrated.
76
75
77
76
## Contributors
78
77
79
78
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
This project follows the[all-contributors](https://github.com/kentcdodds/all-contributors) specification.Contributions of any kind are welcome!
84
+
This project follows the[all-contributors](https://github.com/kentcdodds/all-contributors) specification.Contributions of any kind are welcome!
86
85
87
86
This and many other exercises are built by students as part of the 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) by [Alejandro Sánchez](https://twitter.com/alesanchezr) and many other contributors. Find out more about our [Full Stack Developer Course](https://4geeksacademy.com/us/coding-bootcamps/part-time-full-stack-developer), and [Data Science Bootcamp](https://4geeksacademy.com/us/coding-bootcamps/datascience-machine-learning).
Copy file name to clipboardExpand all lines: exercises/01-Console/README.es.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
En Python, usamos **print** para que el computador escriba cualquier cosa que queramos (el contenido de una variable, una string dado, etc.) en algo llamado "la consola".
4
4
5
-
Cada lenguaje de programación tiene una consola, ya que al principio era la única forma de interactuar con los usuarios (antes de que llegaran Windows, Linux o MacOS).
5
+
Cada lenguaje de programación tiene una consola, ya que al principio era la única forma de interactuar con los usuarios (antes de que llegaran Windows, Linux o macOS).
6
6
7
7
Hoy en día, la impresión en la consola se utiliza, sobre todo, como herramienta de monitoreo y depuración, ideal para dejar un rastro del contenido de las variables durante la ejecución del programa.
8
8
@@ -20,6 +20,6 @@ print("Un texto en la consola")
20
20
21
21
+ Recuerda, para ejecutar el código y ver el resultado en la consola, haz clic en el ícono de caja en la esquina superior izquierda de la pantalla:
22
22
23
-
https://i.imgur.com/w6u4aDd.png
23
+

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".
8
8
9
-
Every programming language has a console, as it was the only way to interact with the users at the beginning (before Windowsor MacOS arrived).
9
+
Every programming language has a console, as it was the only way to interact with the users at the beginning (before Windows, Linux or macOS arrived).
10
10
11
-
Today, printing in the console is used mostly as a monitoring and debugging tool, ideal to leave a trace of the content of variables during the program execution.
11
+
Today, printing in the console is mostly used as a monitoring and debugging tool, ideal for leaving a trace of the content of variables during the program's execution.
12
12
13
13
This is an example of how to use it:
14
14
@@ -18,13 +18,13 @@ print("How are you?")
18
18
19
19
## 📝 Instructions:
20
20
21
-
1. Use **print** to print `Hello World!` on the console.
21
+
1. Use `print()` to print `Hello World!` on the console.
22
22
23
23
24
24
## 💡 Hints:
25
25
26
26
+ Remember, to run the code and see the output on the console, click on the box icon in the top left of the screen:
0 commit comments