Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
653 commits
Select commit Hold shift + click to select a range
509a1ac
Update README.es.md
josemoracard Dec 13, 2023
807e5eb
Update README.md
josemoracard Dec 13, 2023
e31f654
Update README.md
josemoracard Dec 13, 2023
179e4b8
Update README.md
josemoracard Dec 13, 2023
abb91f5
Update README.es.md
josemoracard Dec 13, 2023
f5fc628
Update README.md
josemoracard Dec 13, 2023
0592b58
Update README.es.md
josemoracard Dec 13, 2023
e9846b7
Update app.py
josemoracard Dec 13, 2023
b306c28
Update test.py
josemoracard Dec 13, 2023
dc76fbd
Update solution.hide.py
josemoracard Dec 13, 2023
9d3fd14
Update README.md
josemoracard Dec 13, 2023
93f9ab7
Update README.md
josemoracard Dec 13, 2023
5c3159b
Update README.es.md
josemoracard Dec 13, 2023
829f396
Update test.py
josemoracard Dec 13, 2023
de16793
Update README.md
josemoracard Dec 13, 2023
cf7c26f
Update README.md
josemoracard Dec 13, 2023
9154e2f
Update app.py
josemoracard Dec 13, 2023
e84c78a
Update test.py
josemoracard Dec 13, 2023
d2357f4
Update README.md
josemoracard Dec 13, 2023
9749fe9
Update README.md
josemoracard Dec 13, 2023
f2ba636
Update README.md
josemoracard Dec 13, 2023
94413bf
Update README.es.md
josemoracard Dec 13, 2023
ca9b35b
Update README.md
josemoracard Dec 13, 2023
152aaf9
Update README.md
josemoracard Dec 13, 2023
eb9ff26
Update solution.hide.py
josemoracard Dec 13, 2023
18165ec
Update README.es.md
josemoracard Dec 13, 2023
24ee78f
Update solution.hide.py
josemoracard Dec 13, 2023
9a94c92
Update README.md
josemoracard Dec 13, 2023
cb3d33a
Update README.es.md
josemoracard Dec 13, 2023
e5c8075
Update README.md
josemoracard Dec 13, 2023
5a61d9c
Update README.es.md
josemoracard Dec 13, 2023
1cb917a
Update README.md
josemoracard Dec 20, 2023
9f43e7b
Update README.md
josemoracard Dec 20, 2023
1efb3fc
Update README.md
josemoracard Dec 20, 2023
00c3fe6
Update README.md
josemoracard Dec 20, 2023
089413c
Update README.es.md
josemoracard Dec 20, 2023
d516d24
Update app.py
josemoracard Dec 20, 2023
13c5075
Update solution.hide.py
josemoracard Dec 20, 2023
65d5808
Update test.py
josemoracard Dec 20, 2023
26da269
Update README.md
josemoracard Dec 20, 2023
d6e0a42
Update README.md
josemoracard Dec 20, 2023
d0e5d1a
Update README.es.md
josemoracard Dec 20, 2023
5ecc779
Update app.py
josemoracard Dec 20, 2023
9a7ce14
Update solution.hide.py
josemoracard Dec 20, 2023
5d821e4
Update test.py
josemoracard Dec 20, 2023
7b8e1b4
Update README.md
josemoracard Dec 20, 2023
df0ab97
Update README.es.md
josemoracard Dec 20, 2023
f4b8bf4
Update README.md
josemoracard Dec 20, 2023
138fbdb
Create README.es.md
josemoracard Dec 20, 2023
dffdf0a
Update app.py
josemoracard Dec 20, 2023
ffd37e3
Update solution.hide.py
josemoracard Dec 20, 2023
acd5aa2
Update solution.hide.py
josemoracard Dec 20, 2023
2fcf548
Update test.py
josemoracard Dec 20, 2023
dd965a3
Update app.py
josemoracard Dec 20, 2023
6ce1552
Update README.md
josemoracard Dec 20, 2023
3edd0a9
Create README.es.md
josemoracard Dec 20, 2023
a995923
Update solution.hide.py
josemoracard Dec 20, 2023
e884a4a
Update README.md
josemoracard Dec 20, 2023
77aa06b
Update README.md
josemoracard Dec 20, 2023
bf712bb
Create README.es.md
josemoracard Dec 20, 2023
7012811
Update app.py
josemoracard Dec 20, 2023
fb8ae1d
Update solution.hide.py
josemoracard Dec 20, 2023
15acd9a
Update test.py
josemoracard Dec 20, 2023
d8e1d6e
Update solution.hide.py
josemoracard Dec 20, 2023
550fb6b
Update README.md
josemoracard Dec 20, 2023
9a405ef
Update README.es.md
josemoracard Dec 20, 2023
2ae5642
Update README.md
josemoracard Dec 20, 2023
3dda56b
Update README.es.md
josemoracard Dec 20, 2023
d800b6d
Update README.md
josemoracard Dec 20, 2023
5cd158c
Update app.py
josemoracard Dec 20, 2023
250508f
Create README.es.md
josemoracard Dec 20, 2023
6fa0295
Update solution.hide.py
josemoracard Dec 20, 2023
12ee33e
Update README.md
josemoracard Dec 20, 2023
7b9096b
Update README.es.md
josemoracard Dec 20, 2023
f975360
Update README.md
josemoracard Dec 20, 2023
796164d
Update README.es.md
josemoracard Dec 20, 2023
6dd5ebf
Update README.md
josemoracard Dec 20, 2023
b7c0e92
Update README.md
josemoracard Dec 20, 2023
a5c2f0b
Update README.md
josemoracard Dec 20, 2023
0dbb207
Update app.py
josemoracard Dec 20, 2023
90aad78
Update README.md
josemoracard Dec 20, 2023
acc046a
Update README.md
josemoracard Dec 20, 2023
94bd26d
Create README.es.md
josemoracard Dec 20, 2023
8e73ab0
Update solution.hide.py
josemoracard Dec 20, 2023
dcd7b76
Update test.py
josemoracard Dec 20, 2023
ec5641c
Update solution.hide.py
josemoracard Dec 20, 2023
f7534ae
Update app.py
josemoracard Dec 20, 2023
ad17111
Update README.md
josemoracard Dec 20, 2023
58cb51c
Create README.es.md
josemoracard Dec 20, 2023
ec7c404
Update solution.hide.py
josemoracard Dec 20, 2023
bbb3734
Update app.py
josemoracard Dec 20, 2023
9a63297
Update test.py
josemoracard Dec 20, 2023
d3d8066
Update README.md
josemoracard Dec 20, 2023
aa9dc78
Create README.es.md
josemoracard Dec 20, 2023
e826bd8
Update README.es.md
josemoracard Dec 20, 2023
d0500b6
Update README.md
josemoracard Dec 20, 2023
72c4780
Update README.md
josemoracard Dec 20, 2023
252579f
Update README.md
josemoracard Dec 20, 2023
285882d
Update app.py
josemoracard Dec 20, 2023
bd82221
Update app.py
josemoracard Dec 20, 2023
95337e9
Create README.es.md
josemoracard Dec 20, 2023
ee3f111
Update README.md
josemoracard Dec 20, 2023
9fb2773
Update README.es.md
josemoracard Dec 20, 2023
dc8d00f
Update README.md
josemoracard Dec 20, 2023
0b91997
Update README.md
josemoracard Dec 20, 2023
236281d
Update README.es.md
josemoracard Dec 20, 2023
459bc2f
Update solution.hide.py
josemoracard Dec 20, 2023
71cdd54
Update solution.hide.py
josemoracard Dec 20, 2023
1860b79
Update README.md
josemoracard Dec 20, 2023
d40a9ad
Update solution.hide.py
josemoracard Dec 20, 2023
dd74f20
Update solution.hide.py
josemoracard Dec 20, 2023
34f92c0
Update app.py
josemoracard Dec 20, 2023
3fb7420
Update app.py
josemoracard Dec 20, 2023
e02e57e
Update README.md
josemoracard Dec 20, 2023
fce6fca
Update README.md
josemoracard Dec 20, 2023
ce2a099
Update README.es.md
josemoracard Dec 20, 2023
66028ab
Update README.md
josemoracard Dec 20, 2023
fbef855
Update README.es.md
josemoracard Dec 20, 2023
d82e4bb
Update test.py
josemoracard Dec 20, 2023
27ce1a1
Update README.es.md
josemoracard Dec 20, 2023
3fd9bd8
Update README.md
josemoracard Dec 20, 2023
8563d94
Update app.py
josemoracard Dec 20, 2023
09ecb60
Create README.es.md
josemoracard Dec 20, 2023
e5de870
Update README.md
josemoracard Dec 20, 2023
ec05b78
Update README.es.md
josemoracard Dec 20, 2023
9a71498
Update README.md
josemoracard Dec 20, 2023
543a5ab
Update app.py
josemoracard Dec 20, 2023
07ec6c3
Update solution.hide.py
josemoracard Dec 20, 2023
e45ddb9
Update README.md
josemoracard Dec 20, 2023
27c687e
Create README.es.md
josemoracard Dec 20, 2023
536cded
Update README.md
josemoracard Dec 20, 2023
1fff9c7
Update test.py
josemoracard Dec 20, 2023
2637b79
Update README.md
josemoracard Dec 20, 2023
087d9ba
Update app.py
josemoracard Dec 20, 2023
c7bb7ad
Create README.es.md
josemoracard Dec 20, 2023
155e5c6
Update README.md
josemoracard Dec 20, 2023
926d7f8
Update README.es.md
josemoracard Dec 20, 2023
796f82b
Update README.md
josemoracard Dec 20, 2023
a808b91
Update README.es.md
josemoracard Dec 20, 2023
31dd906
Update README.md
josemoracard Dec 20, 2023
655efe1
Update README.es.md
josemoracard Dec 20, 2023
f3097b4
Update README.md
josemoracard Dec 20, 2023
7c3178a
Update README.es.md
josemoracard Dec 20, 2023
a7ecfcb
Update README.md
josemoracard Dec 20, 2023
232ebfe
Update README.es.md
josemoracard Dec 20, 2023
00f6e17
Update solution.hide.py
josemoracard Dec 20, 2023
2275edf
Update README.es.md
josemoracard Dec 20, 2023
7bc11bf
Update solution.hide.py
josemoracard Dec 20, 2023
d8777d7
Merge pull request #53 from josemoracard/jose3-sum-of-three-numbers
alesanchezr Dec 30, 2023
5b6aa9b
Merge pull request #54 from josemoracard/jose4-009-two_digits
alesanchezr Dec 30, 2023
6c40b2f
Merge pull request #55 from josemoracard/jose5-017-total_cost
alesanchezr Dec 30, 2023
a0a56a4
Merge pull request #56 from josemoracard/jose6-24-class-with-two-methods
alesanchezr Dec 30, 2023
b597f4f
Merge pull request #57 from josemoracard/jose1-README
alesanchezr Dec 30, 2023
042bc62
Update solution.hide.py
josemoracard Jan 1, 2024
64236e9
Update README.es.md
josemoracard Jan 1, 2024
436732c
Update README.es.md
josemoracard Jan 1, 2024
2c2e41d
Update README.md
josemoracard Jan 1, 2024
48b138f
Update README.md
josemoracard Jan 1, 2024
962eff4
Update README.md
josemoracard Jan 1, 2024
041dc4b
Update solution.hide.py
josemoracard Jan 1, 2024
c6a52ad
Update test.py
josemoracard Jan 1, 2024
e8c667b
Update README.md
josemoracard Jan 1, 2024
3244157
Update test.py
josemoracard Jan 1, 2024
c442c87
Update solution.hide.py
josemoracard Jan 1, 2024
8677488
Update README.es.md
josemoracard Jan 1, 2024
ebb3428
Update README.md
josemoracard Jan 1, 2024
bf6d3b6
Update solution.hide.py
josemoracard Jan 1, 2024
2ddeba9
Update README.md
josemoracard Jan 1, 2024
142bbf9
Update README.es.md
josemoracard Jan 1, 2024
adf728a
Update README.es.md
josemoracard Jan 1, 2024
5be39e5
Update README.es.md
josemoracard Jan 1, 2024
93ecba3
Update README.md
josemoracard Jan 1, 2024
50518dd
Update README.md
josemoracard Jan 1, 2024
d978db0
Update README.md
josemoracard Jan 1, 2024
762b3e9
Update README.md
josemoracard Jan 1, 2024
584277f
Update solution.hide.py
josemoracard Jan 1, 2024
58e5a67
Update README.es.md
josemoracard Jan 1, 2024
bda5448
Update test.py
josemoracard Jan 1, 2024
255205e
Update README.md
josemoracard Jan 1, 2024
90846cc
Update README.es.md
josemoracard Jan 1, 2024
4916ff4
Update README.md
josemoracard Jan 1, 2024
5adb95e
Update solution.hide.py
josemoracard Jan 1, 2024
30fd01c
añadido ejercicio 021
josemoracard Jan 1, 2024
6435756
Update README.es.md
josemoracard Jan 2, 2024
cbbbde4
Update README.md
josemoracard Jan 2, 2024
63ec128
Añadir ejercicio 042-understanding_classes
josemoracard Jan 2, 2024
ac36e03
Añadir ejercicio 043-inheritance_and_polymorphism
josemoracard Jan 3, 2024
74207fb
Update README.es.md
josemoracard Jan 3, 2024
5344d15
Update README.md
josemoracard Jan 3, 2024
c010ded
Añadir ejercicio 044-static_and_class_method
josemoracard Jan 3, 2024
d0c04b0
Update README.md
josemoracard Jan 3, 2024
964643a
Update README.es.md
josemoracard Jan 3, 2024
308f000
solve bug from exercise 23
Khrisefzm Jan 11, 2024
5121f6c
Update solution.hide.py
josemoracard Jan 17, 2024
b95c13d
Update solution.hide.py
josemoracard Jan 17, 2024
00f59a1
Update README.es.md
josemoracard Jan 23, 2024
d380b93
Update README.md
josemoracard Jan 23, 2024
1fa3ff1
Create solution.hide.py
josemoracard Jan 23, 2024
1d7bcbd
Create test.py
josemoracard Jan 23, 2024
2076909
Update test.py
josemoracard Jan 23, 2024
2a5eab1
Update README.es.md
josemoracard Jan 23, 2024
a776bdb
Update solution.hide.py
josemoracard Jan 24, 2024
e024286
Update README.es.md
josemoracard Jan 24, 2024
7365bde
Update README.md
josemoracard Jan 24, 2024
47e8438
Create test.py
josemoracard Jan 24, 2024
d5fdaff
Update app.py
josemoracard Jan 24, 2024
8624386
Rename exercises/044-static_and_class_methods/app.py to exercises/044…
josemoracard Jan 24, 2024
83604d0
Delete exercises/044-static_methods
josemoracard Jan 24, 2024
de009e0
Delete exercises/044-static_and_class_methods directory
josemoracard Jan 24, 2024
7919330
ejercicio 44 comentarios
josemoracard Jan 24, 2024
88e37c7
Update README.md
josemoracard Jan 24, 2024
af7a0f5
Update README.es.md
josemoracard Jan 24, 2024
a9e1b82
añadido ejercicio 45-class_methods
josemoracard Jan 24, 2024
746e6af
Merge pull request #59 from josemoracard/jose8-35-square-each-odd-number
alesanchezr Jan 24, 2024
bbde7f6
Merge pull request #60 from josemoracard/jose9-add-exercise-21-average
alesanchezr Jan 24, 2024
dfbfb9b
Merge pull request #62 from josemoracard/jose11--add-3-class-exercises
alesanchezr Jan 24, 2024
a9a79d9
Merge pull request #58 from josemoracard/jose7-28-sequence-of-lines
alesanchezr Jan 24, 2024
75e70d3
Merge pull request #61 from josemoracard/jose10-add-3-class-exercises
alesanchezr Jan 24, 2024
e4e616c
añadido ejercicio 42.1-init_and_str_methods
josemoracard Jan 24, 2024
5ec2591
actualizando numeros de carpetas y ejercicios con el 0 delante
josemoracard Jan 24, 2024
b2c03e8
Update test.py
josemoracard Jan 30, 2024
a8a6aee
Update test.py
josemoracard Jan 30, 2024
9252623
Update solution.hide.py
josemoracard Jan 30, 2024
652b923
Update test.py
josemoracard Jan 30, 2024
ec29f98
Update solution.hide.py
josemoracard Jan 30, 2024
244f813
Merge pull request #63 from josemoracard/jose12-add-3-class-exercises
alesanchezr Feb 14, 2024
3caf855
Merge pull request #66 from josemoracard/jose13-ejercicio-45-class-me…
alesanchezr Feb 14, 2024
4a20749
Merge pull request #67 from josemoracard/jose14-ejercicio-46-init_and…
alesanchezr Feb 14, 2024
02c96dc
Merge pull request #68 from josemoracard/jose15-actualizar-numeros-de…
alesanchezr Feb 14, 2024
ec3675b
Merge branch 'master' of https://github.com/Khrisefzm/master-python-p…
Khrisefzm Feb 15, 2024
ef8f7cd
Merge pull request #65 from Khrisefzm/bug-exercise-23
alesanchezr Feb 21, 2024
be1ff4a
Test agregado ejercicio 024
AnggieAlava Mar 7, 2024
d32b09c
Merge pull request #69 from AnggieAlava/bug/024
alesanchezr Mar 12, 2024
b63e633
Update devcontainer.json
Charlytoc Apr 1, 2024
c8f4ed1
Update .gitpod.Dockerfile
Charlytoc Apr 1, 2024
2619bb2
Update learn.json
Charlytoc Apr 1, 2024
e9addf8
Merge pull request #70 from Charlytoc/master
Charlytoc Apr 1, 2024
3ee13e3
Update with new version of editor and cli
Charlytoc Apr 24, 2024
0da7389
Merge pull request #71 from Charlytoc/master
Charlytoc Apr 24, 2024
076d5cc
Update learn.json
Charlytoc Jul 1, 2024
6ad41ae
Update devcontainer.json
Charlytoc Jul 1, 2024
7a0d5f0
Update devcontainer.json
Charlytoc Aug 28, 2024
8bd7b8f
Update learn.json
Charlytoc Aug 28, 2024
a686285
Update learn.json
alesanchezr Nov 15, 2024
9df205d
Update learn.json
alesanchezr Jan 15, 2025
704dcf7
Update devcontainer.json
alesanchezr Jan 15, 2025
06cd4e9
Update devcontainer.json
Lorenagubaira Jan 28, 2025
e2faa3c
Merge pull request #76 from Lorenagubaira/patch-1
Charlytoc Feb 1, 2025
6510584
Update devcontainer.json
Charlytoc Feb 1, 2025
c5d0bdc
Update workflow files
actions-user Feb 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 39 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:0-3.10",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "16"
}
},
"customizations": {
"vscode": {
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"workbench.editorAssociations": {
"*.md": "vscode.markdown.preview.editor"
}
},
"extensions": ["learn-pack.learnpack-vscode"]
}
},
"onCreateCommand": "pip3 install pytest==6.2.5 pytest-testdox mock && npm i @learnpack/learnpack@5.0.19 -g && learnpack plugins:install @learnpack/python@1.0.6"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip3 install --user -r requirements.txt",

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

29 changes: 29 additions & 0 deletions .github/workflows/learnpack-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Learnpack audit

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install @learnpack/learnpack@latest -g
- run: learnpack audit
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@

!.gitignore
!.gitpod.yml
!.devcontainer
!.devcontainer/*
!.gitpod.Dockerfile
!bc.json
!learn.json
!README.md
!README.*.md
!README.es.md
!.vscode

!/exercises
!/exercises/*
Expand Down
26 changes: 23 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
FROM gitpod/workspace-full:latest

SHELL ["/bin/bash", "-c"]

FROM gitpod/workspace-full:latest
RUN sudo apt-get update \
&& sudo apt-get update \
&& sudo apt-get clean \
&& sudo rm -rf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*

# That Gitpod install pyenv for me? no, thanks
WORKDIR /home/gitpod/
RUN rm .pyenv -Rf
RUN rm .gp_pyenv.d -Rf
RUN curl https://pyenv.run | bash


RUN pyenv update && pyenv install 3.10.7 && pyenv global 3.10.7
RUN pip install pipenv

# remove PIP_USER environment
USER gitpod
RUN if ! grep -q "export PIP_USER=no" "$HOME/.bashrc"; then printf '%s\n' "export PIP_USER=no" >> "$HOME/.bashrc"; fi
RUN echo "" >> $HOME/.bashrc
RUN echo "unset DATABASE_URL" >> $HOME/.bashrc
RUN echo "export DATABASE_URL" >> $HOME/.bashrc

RUN pip3 install pytest==4.4.2 pytest-testdox mock
RUN npm i learnpack@0.0.96 -g && learnpack plugins:install learnpack-python@0.0.34
RUN pip3 install pytest==6.2.5 pytest-testdox mock
RUN npm i @learnpack/learnpack@2.1.39 -g && learnpack plugins:install @learnpack/python@1.0.3
10 changes: 6 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ image:

ports:
- port: 3000
onOpen: open-preview
tasks:
- command: >
learnpack start;
onOpen: ignore

vscode:
extensions:
- learn-pack.learnpack-vscode

github:
prebuilds:
# enable for the master/default branch (defaults to true)
Expand Down
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 700,
"editor.minimap.enabled": false,
"workbench.editorAssociations": {
"*.md": "vscode.markdown.preview.editor"
}
}
72 changes: 72 additions & 0 deletions README.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!-- hide -->
# 🐍 Tutorial Master Python

Por [@alesanchezr](https://twitter.com/alesanchezr) y [otros colaboradores](https://github.com/4GeeksAcademy//master-python-programming-exercises/graphs/contributors) de [4Geeks Academy](http://4geeksacademy.co/)

<a href="https://www.4geeksacademy.co"><img height="280" align="right" src="https://raw.githubusercontent.com/ElviraQDP/master-python-programming-exercises/master/badge-master-python.png"></a>

<!-- endhide -->

Después de terminar la serie de principiantes, funciones y bucles; esta serie te preparará para tu próximo trabajo o cualquier otro desafío de programación. Practica todo lo necesario para construir algoritmos con Python, desde desafíos intermedios hasta difíciles.

Todo el tutorial es 👆 interactivo y ✅ calificado automáticamente.

Estos Ejercicios son colaborativos, ¡te necesitamos! Si encuentras algún error o falta de ortografía, por favor contribuye y repórtalo.

<!-- hide -->

## Instalación en un clic (recomendado)

Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Codespaces](https://codespaces.new/?repo=4GeeksAcademy/master-python-programming-exercises) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/master-python-programming-exercises.git).

> 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`

## Instalación local:

1. Asegúrate de instalar [LearnPack](https://learnpack.co), node.js version 14+ y Python version 3+. Este es el comando para instalar LearnPack:

```bash
npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0
```

2. Clona o descarga este repositorio en tu ambiente local.

```bash
$ git clone https://github.com/4GeeksAcademy/master-python-programming-exercises.git
$ cd master-python-programming-exercises
```

> Nota: Una vez que termine de descargar, encontrarás la carpeta "exercises" que contiene todos los ejercicios.

3. Comienza con los ejercicios ejecutando los siguientes comandos en el mismo nivel que tu archivo learn.json:

```bash
$ pip3 install pytest==6.2.5 pytest-testdox mock
$ learnpack start
```
<!-- endhide -->

## ¿Cómo están organizados los ejercicios?

Cada ejercicio es un pequeño proyecto en Python que contiene los siguientes archivos:

1. **app.py:** representa el archivo de entrada de Python que será ejecutado en el computador.
2. **README.md:** contiene las instrucciones del ejercicio.
3. **test.py:** no tienes que abrir este archivo. Contiene los scripts de pruebas del ejercicio.

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

# Colaboradores

Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) 💻, (idea) 🤔, (build-tests) ⚠️, (pull-request-review) 👀, (build-tutorial) ✅, (documentación) 📖

2. [Paolo (plucodev)](https://github.com/plucodev), contribución: (bug reports) 🐛, (programador) 💻, (traducción) 🌎

3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (bug reports) 🐛, (translation) 🌎

Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas!

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).

103 changes: 52 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,74 @@
<table>
<tr>
<td><img src="https://assets.breatheco.de/apis/img/images.php?blob&random&cat=icon&tags=4geeks,32"></td>
<td>
<h1> 🐍 Mastering Python Algorithms Tutorial</h1>
<p>By <a href="https://twitter.com/alesanchezr">@alesanchezr</a> and <a href="https://github.com/4GeeksAcademy//master-python-programming-exercises/graphs/contributors">other contributors</a> at <a href="http://4geeksacademy.co/">4Geeks Academy</a></p>
<img src="https://img.shields.io/github/last-commit/4geeksacademy/master-python-programming-exercises" />
<a href="https://breatheco.de"><img src="https://img.shields.io/badge/certified-BreatheCode-blue" /></a>
<a href="https://twitter.com/alesanchezr"><img src="https://img.shields.io/twitter/follow/alesanchezr?style=social&logo=twitter" alt="follow on Twitter"></a>
<a href="https://gitpod.io#https://github.com/4GeeksAcademy/master-python-programming-exercises.git"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" /></a>
</td>
</tr>
</table>

After you finished the begginers, functions and loops series; This series will really prepare you for your next job or any any other programming challenge. Practice everything there you need to know to build algorithms with python, from intermadiate to hard challenges: The entire tutorial is 👆 interactive, ✅ auto-graded and with. 📹 video tutorials.

<h3>📚 Table of contents:</h3>
<table>
<tr>
<td>1. <a href="https://github.com/4GeeksAcademy/python-beginner-programming-exercises">Python for Beginners</a> </td>
</tr>
<tr color="white"><td>2. <a href="https://github.com/4GeeksAcademy/python-lists-loops-programming-exercises">Practice Looping Lists and Tuples</a></td></tr>
<tr><td>3. <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises">Practice functions</a></td></tr>
<tr><td>4. <a href="https://github.com/4GeeksAcademy/master-python-programming-exercises">Master Python (intermediate)</a></td>
<td>← 🔥 your are here now</td>
<td><a href="https://gitpod.io#https://github.com/4GeeksAcademy/master-python-programming-exercises.git"><img src="https://gitpod.io/button/open-in-gitpod.svg" /></a></td>
</tr>
<tr><td>5. <a href="https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises">Python API Requests</a></td></tr>
<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>
</table>

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

<h2>One click installation:</h2>

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/4GeeksAcademy/master-python-programming-exercises.git)
<!-- hide -->
# 🐍 Mastering Python Algorithms Tutorial

By [@alesanchezr](https://twitter.com/alesanchezr) and [other contributors](https://github.com/4GeeksAcademy//master-python-programming-exercises/graphs/contributors) at [4Geeks Academy](http://4geeksacademy.co/)

<a href="https://www.4geeksacademy.co"><img height="280" align="right" src="https://raw.githubusercontent.com/4GeeksAcademy/master-python-programming-exercises/master/badge-master-python.png" /></a>

<!-- endhide -->

*Estas instrucciones [están disponibles en 🇪🇸 español](https://github.com/4GeeksAcademy/master-python-programming-exercises/blob/master/README.es.md) :es:*

After you finish the begginers, functions, and loop series, this series will really prepare you for your next job or any other programming challenge. Practice everything there is to know to build algorithms with Python, from intermediate to hard challenges.

The entire tutorial is 👆 interactive and ✅ auto-graded.

These exercises were built in collaboration, we need you! If you find any bugs or misspellings, please contribute and report them.

<!-- hide -->

## One click installation (recommended):

You can open these exercises in just a few seconds by clicking: [Open in Codespaces](https://codespaces.new/?repo=4GeeksAcademy/master-python-programming-exercises) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/master-python-programming-exercises).

> 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`

## Local Installation

1) Make sure you have the [breathecode-cli](https://github.com/breatheco-de/breathecode-cli) installed and `node.js` version 10+ and python version 3+. This is the command to install the breathecode-cli
1. Make sure you have [LearnPack](https://learnpack.co) installed, node.js version 14+, and Python version 3+. This is the command to install LearnPack:

```bash
npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0
```
$ npm i breathecode-cli -g

2. Clone or download this repository in your local environment.

```bash
$ git clone https://github.com/4GeeksAcademy/master-python-programming-exercises.git
$ cd master-python-programming-exercises
```

2) Clone or download this repository. Once you finish downloading, you will find a new folder with a subdirectory "exercises" that contains all the exercises within.
> Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within.

3) Start the tutorial/exercises by running the following command from the root of the project:
3. Start the tutorial/exercises by running the following command at the same level your learn.json file is:

```sh
$ pip install pytest==4.4.2 mock pytest-testdox
$ breathecode run
```bash
$ pip3 install pytest==6.2.5 pytest-testdox mock
$ learnpack start
```

<!-- endhide -->

## How are the exercises organized?

Each exercise is a small react application containing the following files:
Each exercise is a small Python application containing the following files:

1. **app.py:** represents the entry python file that will be executed by the computer.
1. **app.py:** represents the entry Python file that will be executed by the computer.
2. **README.md:** contains exercise instructions.
3. **test.py:** you don't have to open this file, it contains the testing script for the exercise.

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

## Contributors

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

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:
2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) :bug:, contribution: (coder), (translation) :earth_americas:
3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (bug reports) :bug:, (translation) :earth_africa:
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) 💻, (idea) 🤔, (build-tests) ⚠️, (pull-request-review) 👀, (build-tutorial) ✅, (documentation) 📖

2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) 🐛, (coder) 💻, (translation) 🌎

3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (bug reports) 🐛, (translation) 🌎

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

This project follows the
[all-contributors](https://github.com/kentcdodds/all-contributors)
specification. Contributions of any kind are welcome!
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).
Binary file added badge-master-python.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions exercises/000-welcome/README.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Welcome to Python!

¡¡Nos entusiasma mucho tenerte aquí!! 🎉 😂

Este es el último de una serie de ejercicios publicados para practicar Python desde cero por [@alesanchezr](https://twitter.com/alesanchezr) y [4GeeksAcademy](https://4geeksacademy.com).

Si no has completado los otros tutoriales te recomiendo que empieces por allí:

1. [Python para principiantes](https://github.com/4GeeksAcademy/python-beginner-programming-exercises).

2. [Practica Funciones](https://github.com/4GeeksAcademy/python-functions-programming-exercises).

3. [Practica Listas y Bucles](https://github.com/4GeeksAcademy/python-lists-loops-programming-exercises).

Presiona `Next →` en la esquina superior derecha cuando quieras empezar.
15 changes: 15 additions & 0 deletions exercises/000-welcome/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Welcome to Python!

We are very excited to have you here !! 🎉 😂

This is the last series of exercises in a list of Python interactive tutorials published by [@alesanchezr](https://twitter.com/alesanchezr) with [4GeeksAcademy](https://4geeksacademy.com).

If you have not completed them, and you are new to Python, I strongly recommend you start with:

1. [Python for beginners](https://github.com/4GeeksAcademy/python-beginner-programming-exercises).

2. [Practice Functions](https://github.com/4GeeksAcademy/python-functions-programming-exercises).

3. [Practice Loops and Lists](https://github.com/4GeeksAcademy/python-lists-loops-programming-exercises).

Click `Next →` on the top right of these instructions when you are ready to start.
21 changes: 21 additions & 0 deletions exercises/001-hello_world/README.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# `001` hello world

En Python, usamos `print` para hacer que el computador escriba cualquier cosa que queramos (el contenido de una variable, una cadena de texto dada, etc.) en algo llamado "la consola".

Cada lenguaje tiene una consola, ya que al principio era la única forma de interactuar con los usuarios (antes de que llegaran Windows, Linux o macOS).

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.

## 📝 Instrucciones:

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

## 📎 Ejemplo:

```py
print("How are you?")
```

## 💡 Pista:

+ Video de 2 minutos sobre [la consola](https://www.youtube.com/watch?v=vROGBvX_MHQ).
Loading