Skip to content

Commit 89d41a9

Browse files
committed
issue701
2 parents 346d4b9 + dbf4844 commit 89d41a9

File tree

52 files changed

+387
-314
lines changed

Some content is hidden

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

52 files changed

+387
-314
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
!learn.json
88
!bc.json
99
!README.md
10+
!README.es.md
1011

1112
!/exercises
1213
!/exercises/*

README.es.md

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<table>
2+
<tr>
3+
<td><img src="https://assets.breatheco.de/apis/img/images.php?blob&random&cat=icon&tags=4geeks,32"></td>
4+
<td>
5+
<h1> 🐍 Tutorial y Ejercicios para Principiantes de Python</h1>
6+
<p>Por <a href="https://twitter.com/alesanchezr">@alesanchezr</a> y <a href="https://github.com/4GeeksAcademy/python-beginner-programming-exercises/graphs/contributors">otros colaboradores</a> en <a href="http://4geeksacademy.co/">4Geeks Academy</a><a href="https://www.4geeksacademy.co"><img height="280" align="right" src="https://github.com/ElviraQDP/python-beginner-programming-exercises/blob/master/badge-python-bg.png"></a></p>
7+
<img src="https://img.shields.io/github/last-commit/4geeksacademy/python-beginner-programming-exercises" />
8+
<a href="https://breatheco.de"><img src="https://img.shields.io/badge/certified-BreatheCode-blue" /></a>
9+
<a href="https://twitter.com/alesanchezr"><img src="https://img.shields.io/twitter/follow/alesanchezr?style=social&logo=twitter" alt="follow on Twitter"></a>
10+
<a href="https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" /></a>
11+
</td>
12+
</tr>
13+
</table>
14+
15+
Esta serie en particular es para principiantes de Python. Aprenderás los siguientes conceptos:
16+
17+
1. La función `print`,
18+
19+
2. tipos de datos,
20+
21+
3. listas y tuplas
22+
23+
4. funciones y diccionarios.
24+
25+
Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente y con 📹 videos tutoriales.
26+
27+
<h3>📚 Tabla de contenidos</h3>
28+
<table>
29+
<tr><td>1. <a href="https://github.com/4GeeksAcademy/python-beginner-programming-exercises">Python para principiantes</a>← 🔥 estás aquí </td></tr>
30+
<tr color="white"><td>2. <a href="https://github.com/4GeeksAcademy/python-lists-loops-programming-exercises">Practica Loops en Listas y Tuplas</a></td></tr>
31+
<tr><td>3. <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises">Practica funciones</a></td></tr>
32+
<tr><td>4. <a href="https://github.com/4GeeksAcademy/master-python-programming-exercises">Master Python (intermedio)</a></td></tr>
33+
<tr><td>5. <a href="https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises">Python API Requests</a></td></tr>
34+
<tr><td>6. Que sigue? <a href="https://github.com/4GeeksAcademy/About-4Geeks-Academy/issues/new">Solicita un nuevo tutorial</a> o <a href="https://github.com/4GeeksAcademy/About-4Geeks-Academy/labels/help%20wanted">colabora</a>.<br /> Añadiremos tu perfil a nuestra lista de colaboradores </td></tr>
35+
</table>
36+
37+
¡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.
38+
39+
<p align="center">
40+
<a href="https://www.youtube.com/watch?v=GjQEotj3t6Y&list=PLCVs_S8Skwp9_apbj_ls2euakDALiWqSN"><img src="https://github.com/4GeeksAcademy/python-beginner-programming-exercises/blob/master/python-intro.gif?raw=true"></a>
41+
</p>
42+
43+
## Instalación en un solo clic:
44+
45+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git)
46+
47+
## Instalación local:
48+
49+
1. Instala learnpack, el package manager para tutoriales y el plugin compilador de html para learnpack, asegúrate de tener instalado node.js 14+:
50+
51+
```
52+
$ npm i learnpack -g
53+
$ learnpack plugins:install learnpack-python
54+
```
55+
56+
2. Descarga este ejercicio en particular usando learnpack y `cd` dentro de la carpeta:
57+
58+
```
59+
$ learnpack download python-beginner-programming-exercises
60+
$ cd python-beginner-programming-exercises
61+
```
62+
63+
Nota: Una vez que termines de descargarlo, encontrarás una carpeta llamada "exercises" que contiene los ejercicios.
64+
65+
3. Inicializa el tutorial/exercises ejecutando el siguiente comando al mismo nivel en el que se encuentra tu archivo bc.json:
66+
67+
```sh
68+
$ pip3 install pytest==4.4.2 pytest-testdox mock
69+
$ learnpack start
70+
```
71+
72+
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.
73+
74+
## ¿Cómo están organizados los ejercicios?
75+
76+
Cada ejercicio es una pequeña aplicación de react que contiene los siguientes archivos:
77+
78+
1. **app.py:** representa el archivo de entrada de python que será ejecutado por el computador.
79+
2. **README.es.md:** Contiene las instrucciones del ejercicio.
80+
3. **test.py:** Contiene el script del test para el ejercicio (no es necesario que abras este archivo)
81+
82+
## Colaboradores
83+
84+
Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
85+
86+
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 🤓 (build-tutorial) ✅ (documentación) 📖
87+
88+
2. [Paolo (plucodev)](https://github.com/plucodev), contribución: (bug reports) 🐛, (programador), (traducción) 🌎
89+
90+
Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas!

README.md

+29-40
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,36 @@
1-
<table>
2-
<tr>
3-
<td><img src="https://assets.breatheco.de/apis/img/images.php?blob&random&cat=icon&tags=4geeks,32"></td>
4-
<td>
5-
<h1> 🐍 Python Beginner Tutorial and Exercises</h1>
6-
<p>By <a href="https://twitter.com/alesanchezr">@alesanchezr</a> and <a href="https://github.com/4GeeksAcademy/python-beginner-programming-exercises/graphs/contributors">other contributors</a> at <a href="http://4geeksacademy.co/">4Geeks Academy</a></p>
7-
<img src="https://img.shields.io/github/last-commit/4geeksacademy/python-beginner-programming-exercises" />
8-
<a href="https://breatheco.de"><img src="https://img.shields.io/badge/certified-BreatheCode-blue" /></a>
9-
<a href="https://twitter.com/alesanchezr"><img src="https://img.shields.io/twitter/follow/alesanchezr?style=social&logo=twitter" alt="follow on Twitter"></a>
10-
<a href="https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" /></a>
11-
</td>
12-
</tr>
13-
</table>
14-
15-
This particular series are for Python beginners: Start learning python from the `print` function, data-types, lists and touples, functions and dictionaries. The entire tutorial is 👆 interactive, ✅ auto-graded and with. 📹 video tutorials.
16-
17-
<h3>📚 Table of contents:</h3>
18-
<table>
19-
<tr>
20-
<td>1. <a href="https://github.com/4GeeksAcademy/python-beginner-programming-exercises">Python for Beginners</a> </td>
21-
<td>← 🔥 your are here now</td>
22-
<td><a href="https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git"><img src="https://gitpod.io/button/open-in-gitpod.svg" /></a></td>
23-
</tr>
24-
<tr color="white"><td>2. <a href="https://github.com/4GeeksAcademy/python-lists-loops-programming-exercises">Practice Looping Lists and Tuples</a></td></tr>
25-
<tr><td>3. <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises">Practice functions</a></td></tr>
26-
<tr><td>4. <a href="https://github.com/4GeeksAcademy/master-python-programming-exercises">Master Python (intermediate)</a></td></tr>
27-
<tr><td>5. <a href="https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises">Python API Requests</a></td></tr>
28-
<tr><td>6. What next? <a href="https://github.com/4GeeksAcademy/About-4Geeks-Academy/issues/new">Request a new tutorial</a> or <a href="https://github.com/4GeeksAcademy/About-4Geeks-Academy/labels/help%20wanted">collaborate</a>.<br /> We will feature your profile in our list of contributors</td></tr>
29-
</table>
1+
<!-- hide -->
2+
<img height="280" align="right" src="https://github.com/ElviraQDP/python-beginner-programming-exercises/blob/master/badge-python-bg.png?raw=true">
303

31-
These exercises were built in collaboration, we need you! If you find any bugs or misspells plese contribute and report them.
324

33-
<p align="center">
34-
<a href="https://www.youtube.com/watch?v=GjQEotj3t6Y&list=PLCVs_S8Skwp9_apbj_ls2euakDALiWqSN"><img src="https://github.com/4GeeksAcademy/python-beginner-programming-exercises/blob/master/python-intro.gif?raw=true"></a>
35-
</p>
5+
# 🐍 Python Beginner Tutorial and Exercises
6+
By [@alesanchezr](https://twitter.com/alesanchezr) and [other contributors](https://github.com/4GeeksAcademy/python-beginner-programming-exercises/graphs/contributors) at [4Geeks Academy](http://4geeksacademy.com)
7+
<img align="left" src="https://img.shields.io/github/last-commit/4geeksacademy/python-beginner-programming-exercises">
8+
<!-- endhide -->
9+
10+
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.
11+
12+
This particular series are for Python beginners. You will learn:
13+
14+
1. The `print` function,
15+
16+
2. Data-Types,
3617

18+
3. Lists and Tuples,
3719

38-
<h2>One click installation:</h2>
20+
4. Functions and dictionaries.
21+
22+
The entire tutorial is 👆 interactive, ✅ auto-graded and with 📹 video tutorials.
23+
24+
These exercises were built in collaboration, we need you! If you find any bugs or misspells plese contribute and report them.
25+
26+
<!-- hide -->
27+
## One click installation:
3928

4029
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git)
4130

4231
## Local Installation
4332

44-
1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 12+:
33+
1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+:
4534

4635
```
4736
$ npm i learnpack -g
@@ -66,6 +55,7 @@ $ learnpack start
6655

6756
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.
6857

58+
<!-- endhide -->
6959
## How are the exercises organized?
7060

7161
Each exercise is a small react application containing the following files:
@@ -78,9 +68,8 @@ Each exercise is a small react application containing the following files:
7868

7969
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
8070

81-
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentation) :book:
82-
2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) :bug:, contribution: (coder), (translation) :earth_americas:
71+
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 👀 (build-tutorial) ✅ (documentation) 📖
72+
73+
2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) 🐛, contribution: (coder), (translation) 🌎
8374

84-
This project follows the
85-
[all-contributors](https://github.com/kentcdodds/all-contributors)
86-
specification. Contributions of any kind are welcome!
75+
This project follows the[all-contributors](https://github.com/kentcdodds/all-contributors) specification.Contributions of any kind are welcome!

exercises/00-Welcome/README.es.md

+21-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# ¡¡Bienvenido al curso inicial de Python!!
1+
# ¡Bienvenido al curso inicial de Python!
22

3-
¡¡Estamos muy entusiasmados por tenerte aquí!! 🎉 😂
3+
¡Estamos muy entusiasmados por tenerte aquí! 🎉 😂
4+
5+
## 💬 Fundamentos:
46

57
Durante este curso aprenderás los siguientes conceptos:
68

@@ -16,14 +18,27 @@ Durante este curso aprenderás los siguientes conceptos:
1618

1719
Por favor, haz clic en el botón `Next →` arriba a la derecha para dirigirte al primer ejercicio.
1820

19-
## Colaboradores
21+
## Lecturas Útiles:
22+
23+
+ [https://datademia.es/blog/que-es-python](https://datademia.es/blog/que-es-python)
24+
25+
+ [https://www.capacitarte.org/blog/nota/que-es-y-para-que-sirve-python](https://www.capacitarte.org/blog/nota/que-es-y-para-que-sirve-python)
26+
27+
## Video Útil:
28+
29+
+ [https://youtu.be/lc5JJTQa4r8](https://youtu.be/lc5JJTQa4r8)
2030

21-
Nuestro agradecimiento para estas maravillosas personas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
31+
32+
## Colaboradores:
33+
34+
Gracias a estas maravillosas personas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
2235

2336
1. [Alejandro Sánchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentación) :book:
37+
2438
2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador) :computer:, (build-tests) :warning:
39+
2540
3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribución: (traducción) :earth_africa:
2641

27-
Este proyecto sigue las especificaciones
28-
[all-contributors](https://github.com/kentcdodds/all-contributors).
42+
Este proyecto sigue las especificaciones: [all-contributors](https://github.com/kentcdodds/all-contributors).
43+
2944
¡Todas las contribuciones son bienvenidas!

exercises/00-Welcome/README.md

+24-8
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
intro: "https://www.youtube.com/watch?v=amyDNhZwGJQ"
33
---
44

5+
# Welcome to Python Beginner Course!
56

6-
# Welcome to Python Beginner Course!!
7+
We are very excited to have you here! 🎉 😂
78

8-
We are very excited to have you here !! 🎉 😂
9+
## 💬 Fundamentals:
910

1011
During this course you will be learning the following concepts:
1112

@@ -21,13 +22,28 @@ During this course you will be learning the following concepts:
2122

2223
Please click on the `Next →` button on the top right to proceed to the first challenge.
2324

24-
## Contributors
25+
## Useful Readings:
2526

26-
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
27+
+ [https://www.w3schools.com/python/python_intro.asp#:~:text=Python%20has%20a%20simple%20syntax,prototyping%20can%20be%20very%20quick.](https://www.w3schools.com/python/python_intro.asp#:~:text=Python%20has%20a%20simple%20syntax,prototyping%20can%20be%20very%20quick.)
28+
29+
+ [https://www.python.org/doc/essays/blurb/](https://www.python.org/doc/essays/blurb/)
30+
31+
## Useful Video:
32+
33+
+ [https://youtu.be/Y8Tko2YC5hA](https://youtu.be/Y8Tko2YC5hA)
34+
35+
## Contributors:
36+
37+
Thanks to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
2738

2839
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentation) :book:
29-
1. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribution: (coder), (build-tests) :warning:
3040

31-
This project follows the
32-
[all-contributors](https://github.com/kentcdodds/all-contributors)
33-
specification. Contributions of any kind are welcome!
41+
2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribution: (coder), (build-tests) :warning:
42+
43+
3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (translator) :earth_africa:
44+
45+
46+
This project follows these specifications: [all-contributors](https://github.com/kentcdodds/all-contributors)
47+
48+
49+
Contributions of any kind are welcome!

exercises/01-Console/README.es.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `01` Consola
1+
# `01` Console
22

33
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".
44

@@ -14,4 +14,4 @@ print("Un texto en la consola")
1414

1515
## 📝 Instrucciones:
1616

17-
1. usa **print** para escribir `Hello World!` en la consola. Siéntete libre de intentar otras cosas también.
17+
1. usa **print** para escribir `Hello World!` en la consola. Siéntete libre de intentar otras cosas también.

exercises/01-Console/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ Every language has a console, as it was the only way to interact with the users
1111
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.
1212

1313
This is an example of how to use it:
14+
1415
```py
1516
print("How are you?")
1617
```
1718

1819
## 📝 Instructions:
1920

20-
1. Use **print** to print `Hello World!` on the console. Feel free to try other things as well.
21+
1. Use **print** to print `Hello World!` on the console. Feel free to try other things as well.
+6-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# `02` Declaración de variables
1+
# `02` Declare Variables
22

33
Las variables actúan como una caja (contenedor) que te permite almacenar distintos tipos de datos. Así es como se define una variable:
4+
45
```py
56
name = "Daniel"
67
```
78

89
## 📝 Instrucciones:
910

1011
1. Declara una variable con el valor "Yellow" y luego imprímelo en la consola.
11-
2. Luego, imprime su valor en la consola usando ```print(name)```
1212

13-
## 💡 Sugerencia:
13+
2. Luego, imprime su valor en la consola usando `print(name)`.
14+
15+
## 💡 Pista:
1416

15-
Puedes darle el nombre que quieras a la variable, pero su valor tiene que ser el texto "Yellow".
17+
+ Puedes darle el nombre que quieras a la variable, pero su valor tiene que ser el texto "Yellow".

exercises/02-Declare-Variables/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ name = "Daniel"
1414

1515
1. Declare a new variable with the string value "Yellow" and print the value to the console.
1616

17-
2. Then, print its value on the console using `print(name)`
17+
2. Then, print its value on the console using `print(name)`.
1818

1919
## 💡 Hint:
2020

21-
The name of the variable can be whatever you want, but the value inside has to be the string "Yellow".
21+
+ The name of the variable can be whatever you want, but the value inside has to be the string "Yellow".
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `03` Imprime las variables en la consola
1+
# `03` Print Variables in The Console
22

33
También puedes usar la función **print** para imprimir variables en la consola. Es una excelente forma de verificar su valor actual, así:
44

@@ -9,6 +9,6 @@ print(my_super_variable)
99

1010
## 📝 Instrucciones:
1111

12-
1. Declara una nueva variable llamada `color` y asínale el valor `red`.
12+
1. Declara una nueva variable llamada `color` y asígnale el valor `red`.
1313

14-
2. Luego, imprime su valor en la consola (puede que tengas que desplazarte en la consola para poder verlo)
14+
2. Luego, imprime su valor en la consola (puede que tengas que desplazarte en la consola para poder verlo).

exercises/03-Print-Variables-In-The-Console/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ tutorial: "https://www.youtube.com/watch?v=Ki1LaUKhPgU"
55
# `03` Print the Variables in the console
66

77
You can also use the **print** function to print variables in the console. It's a great way to check their current value, like this:
8+
89
```py
910
my_super_variable = 'hello'
1011
print(my_super_variable)
@@ -14,4 +15,4 @@ print(my_super_variable)
1415

1516
1. Declare a new variable called `color` and assign the value `red` to it.
1617

17-
2. Then, print its value on the console (you may have to scroll up in the terminal to see it!)
18+
2. Then, print its value on the console (you may have to scroll up in the terminal to see it!).
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `04` Mutiplicar dos valores
1+
# `04` Multiply Two Values
22

33
Cualquier lenguaje de programación te permite realizar operaciones matemáticas básicas como multiplicación, división, etc.
44

@@ -7,14 +7,11 @@ Para multiplicar dos valores en Python, tienes que usar el operador estrella o a
77
```py
88
resulting_value = 2 * 3
99
```
10+
1011
En este caso, hemos almacenado el resultado de la multiplicación en una variable llamada `resulting_value`.
1112

1213
## 📝 Instrucciones:
1314

1415
1. Por favor, almacena el resultado de multiplicar 2345 por 7323 en una variable llamada `variables_are_cool`.
1516

16-
2. Ahora imprime el resultado en la consola.
17-
18-
19-
20-
17+
2. Ahora imprime el resultado en la consola.

0 commit comments

Comments
 (0)