Movatterモバイル変換


[0]ホーム

URL:


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

Change the documantation link#48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
gaha20 wants to merge211 commits intonextfrommaster
Closed
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
211 commits
Select commitHold shift + click to select a range
f0ac639
Update README.md
hexbreakFeb 7, 2021
c5f9a89
Update README.md
hexbreakFeb 8, 2021
c90e3d6
Update README.md
hexbreakFeb 8, 2021
d8f1327
Merge pull request #11 from hexbreak/patch-3
alesanchezrFeb 8, 2021
03d3cad
Merge pull request #10 from hexbreak/patch-2
alesanchezrFeb 8, 2021
e12fad0
Merge pull request #9 from hexbreak/patch-1
alesanchezrFeb 8, 2021
503453a
Update README.md
hexbreakFeb 8, 2021
59d2593
Merge pull request #12 from hexbreak/patch-4
alesanchezrFeb 8, 2021
c770ba6
badge uploaded
ElviraQDPMar 13, 2021
38a2a4c
Update learn.json
tommygonzalezaJul 23, 2021
f060763
Update .gitpod.yml
tommygonzalezaJul 23, 2021
c9b5807
Update .gitpod.Dockerfile
tommygonzalezaJul 23, 2021
aefa296
errores de tipeo
wotanCodeJul 24, 2021
7d69489
error de tipeo
wotanCodeJul 24, 2021
be715d3
Error en el código de ejemplo
wotanCodeJul 24, 2021
fcfd3c4
Se eliminan líneas innecesarias
wotanCodeJul 25, 2021
3a33a03
Update .gitpod.Dockerfile
tommygonzalezaJul 30, 2021
2b9827e
Merge pull request #19 from tommygonzaleza/master
alesanchezrAug 3, 2021
c17c72f
Merge pull request #14 from learnpack/master
alesanchezrAug 3, 2021
d8a5d6a
Merge pull request #15 from wotanCode/patch-1
alesanchezrAug 3, 2021
2ac38ff
Merge pull request #16 from wotanCode/patch-2
alesanchezrAug 3, 2021
61a39ab
Merge pull request #18 from wotanCode/patch-4
alesanchezrAug 3, 2021
5eac136
Merge pull request #17 from wotanCode/patch-3
alesanchezrAug 3, 2021
35689ae
Update .gitpod.Dockerfile
alesanchezrAug 5, 2021
bfcb529
Update learn.json
alesanchezrAug 5, 2021
4411587
finish reviewing instructions
ElviraQDPAug 11, 2021
344f259
Update tests.py
alesanchezrOct 4, 2021
0bdffed
learnpack audit's action added to the repository
tommygonzalezaOct 9, 2021
fd83574
Merge pull request #21 from tommygonzaleza/master
alesanchezrOct 21, 2021
b83fcc6
Editor version updated
tommygonzalezaOct 28, 2021
3b6aa7d
Learnpack clean fixed by updating learnpack
tommygonzalezaOct 31, 2021
7977e3a
Merge pull request #22 from tommygonzaleza/editor-version
alesanchezrNov 3, 2021
927ddd0
Update .gitpod.Dockerfile
tommygonzalezaNov 3, 2021
f146094
Merge pull request #23 from tommygonzaleza/learnpack-version
alesanchezrNov 15, 2021
05ef8e3
Update README.es.md
tommygonzalezaDec 6, 2021
5c3914c
Update README.es.md
tommygonzalezaDec 6, 2021
57ec31e
Update README.es.md
tommygonzalezaDec 6, 2021
6f4e342
Update README.es.md
tommygonzalezaDec 6, 2021
4aa1c77
Update README.md
tommygonzalezaDec 6, 2021
74248b2
Merge pull request #20 from ElviraQDP/master
tommygonzalezaDec 6, 2021
d443683
coding ide version changed to 1.0.72
tommygonzalezaDec 23, 2021
d1c9fbd
Merge pull request #24 from tommygonzaleza/coding-ide-version
alesanchezrJan 13, 2022
8c81706
https://github.com/learnpack/learnpack/issues/512
ElviraQDPJan 14, 2022
dbea562
Update README.md
tommygonzalezaJan 20, 2022
04dbe7e
learnpack clean
ElviraQDPJan 21, 2022
97aafc1
Merge pull request #26 from ElviraQDP/ex6
tommygonzalezaJan 24, 2022
652a4bb
Update learn.json
tommygonzalezaJan 24, 2022
8df11c7
04-Call-a-function
kiddoproFeb 9, 2022
d7af871
Merge pull request #27 from kiddopro/04-Call-a-function
tommygonzalezaFeb 21, 2022
ae4b874
https://github.com/learnpack/learnpack/issues/811
ElviraQDPMar 29, 2022
c4acb50
misspell
ElviraQDPMar 29, 2022
3e0b05a
missing content
ElviraQDPMar 29, 2022
1c2549e
badge added
ElviraQDPMar 30, 2022
a54cb3d
badge
ElviraQDPMar 30, 2022
1c077c5
badge uploaded
ElviraQDPMar 30, 2022
fe87698
Merge pull request #28 from ElviraQDP/readme.es-
tommygonzalezaMar 31, 2022
5b6f91a
the main README´s were changed
LorenagubairaApr 22, 2022
6fbb75b
Update README.md
alesanchezrApr 25, 2022
223b1bb
Update README.es.md
alesanchezrApr 25, 2022
023c617
Update README.es.md
alesanchezrApr 25, 2022
e19bf0c
Update README.md
alesanchezrApr 26, 2022
7463d4b
Merge branch 'master' into main.readme.python
tommygonzalezaMay 2, 2022
69af042
Update README.es.md
tommygonzalezaMay 2, 2022
bbc32dc
Update README.es.md
tommygonzalezaMay 2, 2022
c914a7b
Merge pull request #29 from Lorenagubaira/main.readme.python
tommygonzalezaMay 2, 2022
ac13344
changed ide version
Sadiel0May 25, 2022
c943a6b
Merge pull request #30 from Sadiel0/ide-version
tommygonzalezaMay 25, 2022
cf32917
@learnpack/learnpack
Sadiel0May 27, 2022
71d13bb
Merge pull request #31 from Sadiel0/practice-functions
tommygonzalezaMay 31, 2022
f9be189
changed yml file
Sadiel0Jun 17, 2022
1eba37a
Merge pull request #32 from Sadiel0/python-functions
tommygonzalezaJun 20, 2022
33169cb
added \s to test to pass when space is added
Sadiel0Jun 30, 2022
55e51a2
fixed test so it would read print on any line
Sadiel0Jun 30, 2022
e93d16f
Merge pull request #35 from Sadiel0/hello-word
tommygonzalezaJun 30, 2022
5b3db32
regex changed to allow many spaces
Sadiel0Jul 5, 2022
08156f8
Update tests.py
tommygonzalezaJul 26, 2022
6b9ec76
Merge pull request #34 from Sadiel0/array-methods
tommygonzalezaJul 26, 2022
63bac30
test
dsilva06Jul 27, 2022
5ce2687
Test improved on exercise 05
tommygonzalezaJul 29, 2022
afa6454
Merge pull request #36 from dsilva06/05-Defining-vs-Calling-a-function
tommygonzalezaJul 29, 2022
e415cf6
Update README.md
ChadmichaelgAug 18, 2022
5d58b1f
learnpack -v
dsilva06Aug 19, 2022
4553793
Update .gitpod.Dockerfile
tommygonzalezaAug 22, 2022
800e1dd
Merge pull request #38 from dsilva06/learnpack-version
tommygonzalezaAug 22, 2022
ed26fb6
Update .gitpod.Dockerfile
tommygonzalezaAug 23, 2022
3b849b1
“learnpack”
dsilva06Aug 27, 2022
47e0606
Merge pull request #39 from dsilva06/learnpack-version
tommygonzalezaAug 31, 2022
ebe1894
Update learn.json
kiddoproOct 8, 2022
c6e3b0f
camelCase
kiddoproOct 12, 2022
486b0a3
Merge pull request #40 from kiddopro/properties
tommygonzalezaOct 24, 2022
abf5213
Update learn.json
kiddoproNov 6, 2022
fbc63ce
added solution
UmiKamiFeb 16, 2023
6554470
Merge pull request #42 from UmiKami/07-lambda-function-two
tommygonzalezaFeb 16, 2023
f6f360e
Update learn.json
tommygonzalezaFeb 17, 2023
161612a
Update README.md
alesanchezrMar 13, 2023
982566c
Update README.es.md
alesanchezrMar 13, 2023
d4d9605
Update README.es.md
alesanchezrMar 13, 2023
4605639
the footnotes were added
LorenagubairaApr 4, 2023
d09a84c
added sol
UmiKamiApr 6, 2023
61a33d7
Merge pull request #41 from kiddopro/properties
alesanchezrApr 7, 2023
5b00b30
Merge pull request #44 from UmiKami/09-Function-parameters
alesanchezrApr 7, 2023
092059b
Merge pull request #37 from Chadmichaelg/patch-1
alesanchezrApr 7, 2023
cbcffc8
Merge pull request #43 from Lorenagubaira/python-functions-programmin…
alesanchezrApr 7, 2023
07512a0
codepaces reference
LorenagubairaApr 13, 2023
61a98b6
Update .gitpod.Dockerfile
alesanchezrApr 15, 2023
f5f0a1d
Update .gitignore
alesanchezrApr 15, 2023
455bfcb
Create devcontainer.json
alesanchezrApr 15, 2023
22595b4
Merge branch '4GeeksAcademy:master' into python-functions-programming…
LorenagubairaApr 20, 2023
d53186f
the links were updated
LorenagubairaApr 20, 2023
ade2590
the settings.json file was updated
LorenagubairaApr 24, 2023
c3efbe0
Merge pull request #46 from Lorenagubaira/python-functions.set.json
alesanchezrApr 28, 2023
c2adf7b
Merge pull request #45 from Lorenagubaira/python-functions-programmin…
alesanchezrMay 1, 2023
c1680de
increased flexibility of test by adding blank space tolerance
UmiKamiAug 30, 2023
2621f89
added solution file
UmiKamiAug 30, 2023
46963a8
Merge pull request #50 from UmiKami/04-Call-a-function
alesanchezrSep 7, 2023
fe80228
Update README.md
josemoracardNov 22, 2023
b27c19a
Update README.es.md
josemoracardNov 22, 2023
25aa0c7
Update README.es.md
josemoracardNov 22, 2023
fed4e6f
Update README.md
josemoracardNov 22, 2023
3938ca8
Update learn.json
josemoracardNov 22, 2023
95937fe
Update README.md
josemoracardNov 22, 2023
d4cd0b8
Update README.md
josemoracardNov 22, 2023
86ba89b
Update README.es.md
josemoracardNov 22, 2023
185c68c
Update README.md
josemoracardNov 22, 2023
849627e
Update README.md
josemoracardNov 22, 2023
c8d874b
Update README.es.md
josemoracardNov 22, 2023
fc6cc2c
Update README.es.md
josemoracardNov 22, 2023
bc3b370
Update app.py
josemoracardNov 22, 2023
ea6a0e2
Create solution.hide.py
josemoracardNov 22, 2023
d893571
Update solution.hide.py
josemoracardNov 22, 2023
16d9038
Update README.md
josemoracardNov 22, 2023
1a1fec3
Update README.md
josemoracardNov 22, 2023
3d4a114
Update README.es.md
josemoracardNov 22, 2023
1684f58
Create solution.hide.py
josemoracardNov 22, 2023
6040cfd
Update app.py
josemoracardNov 22, 2023
c0891c6
Update README.md
josemoracardNov 22, 2023
c822158
Update README.md
josemoracardNov 22, 2023
42fffee
Update README.md
josemoracardNov 22, 2023
2da7f65
Update README.md
josemoracardNov 22, 2023
772e9e5
Update README.es.md
josemoracardNov 22, 2023
0b953a0
Update app.py
josemoracardNov 22, 2023
9a62da1
Update solution.hide.py
josemoracardNov 22, 2023
bc85b65
Update tests.py
josemoracardNov 22, 2023
221f1d2
Update README.md
josemoracardNov 22, 2023
ddff8b1
Update README.md
josemoracardNov 22, 2023
1ab3115
Update README.md
josemoracardNov 22, 2023
6310ba4
Update README.es.md
josemoracardNov 22, 2023
7e81a0a
Update app.py
josemoracardNov 22, 2023
473ab8f
Update solution.hide.py
josemoracardNov 22, 2023
8bfb202
Update tests.py
josemoracardNov 22, 2023
e20ebf2
Added intro video
tommygonzalezaNov 28, 2023
b3fbd36
Update README.es.md
josemoracardNov 29, 2023
a96cd35
Update README.es.md
josemoracardNov 29, 2023
117bc32
Update README.md
josemoracardNov 29, 2023
b8b422f
Update README.md
josemoracardNov 29, 2023
e1d8fe2
Update README.es.md
josemoracardNov 29, 2023
4ed8919
Update README.md
josemoracardNov 29, 2023
d006197
Update app.py
josemoracardNov 29, 2023
e158501
Update tests.py
josemoracardNov 29, 2023
f7e459f
Update tests.py
josemoracardNov 29, 2023
0d2ba13
Update tests.py
josemoracardNov 29, 2023
0de3fbf
Create solution.hide.py
josemoracardNov 29, 2023
7877337
Update README.md
josemoracardNov 29, 2023
7c657c2
Update README.md
josemoracardNov 29, 2023
7f5cc84
Update README.es.md
josemoracardNov 29, 2023
a18d892
Update app.py
josemoracardNov 29, 2023
0280a20
Update solution.hide.py
josemoracardNov 29, 2023
daa03e4
Update tests.py
josemoracardNov 29, 2023
44a898b
Update README.md
josemoracardNov 29, 2023
930f773
Update README.md
josemoracardNov 29, 2023
08490fe
Update README.es.md
josemoracardNov 29, 2023
eaefd88
Update app.py
josemoracardNov 29, 2023
50e2eec
Update test.py
josemoracardNov 29, 2023
114310e
Create solution.hide.py
josemoracardNov 29, 2023
989a756
Update README.md
josemoracardNov 29, 2023
cecf0db
Update README.es.md
josemoracardNov 29, 2023
71fe9b0
Update solution.hide.py
josemoracardNov 29, 2023
af4d5fd
Update README.es.md
josemoracardNov 29, 2023
91c9d46
Update README.md
josemoracardNov 29, 2023
a5eafd9
Update README.md
josemoracardNov 29, 2023
3f6d997
Update README.md
josemoracardNov 29, 2023
8bfd0bc
Update README.es.md
josemoracardNov 29, 2023
4b35a98
Update solution.hide.py
josemoracardNov 29, 2023
3c02856
Update app.py
josemoracardNov 29, 2023
a229f30
Update README.md
josemoracardNov 29, 2023
355a13a
Update tests.py
josemoracardNov 29, 2023
b681c43
Update README.md
josemoracardNov 29, 2023
a438081
Update README.es.md
josemoracardNov 29, 2023
a2e3553
Merge pull request #51 from josemoracard/jose1-README
alesanchezrDec 6, 2023
aba1fda
Merge pull request #52 from josemoracard/jose2-00-welcome
alesanchezrDec 6, 2023
73aeec4
Merge pull request #53 from josemoracard/jose3-05-defining-vs-calling…
alesanchezrDec 6, 2023
3f857d4
Merge pull request #54 from tommygonzaleza/patch-2
alesanchezrDec 6, 2023
b3d24db
Merge pull request #55 from josemoracard/jose4-06-lambda-functions
alesanchezrDec 6, 2023
30ccbe7
Update README.md
josemoracardDec 13, 2023
ff4cc7e
Update README.md
josemoracardDec 13, 2023
63202b9
Update README.md
josemoracardDec 13, 2023
cc216be
Update README.es.md
josemoracardDec 13, 2023
de8d27b
Update README.es.md
josemoracardDec 13, 2023
ed10076
Update README.md
josemoracardDec 13, 2023
b73c98b
Update README.es.md
josemoracardDec 13, 2023
bb9e11d
Update README.md
josemoracardDec 13, 2023
9084eee
Update README.md
josemoracardDec 13, 2023
fd801fd
Update README.md
josemoracardDec 13, 2023
e2ac839
Update README.es.md
josemoracardDec 13, 2023
f17dff4
cambio de numeros a todo para poner el 00-welcome
josemoracardDec 20, 2023
3b87eca
Merge pull request #56 from josemoracard/jose1-README
alesanchezrDec 30, 2023
704c159
Merge pull request #57 from josemoracard/jose5-folders
alesanchezrDec 30, 2023
3f0fa1e
Update devcontainer.json
CharlytocFeb 27, 2024
5419817
Update learn.json
CharlytocFeb 27, 2024
dfaa8ef
ADding videos
CharlytocMar 13, 2024
2d76d0e
Merge pull request #59 from Charlytoc/master
alesanchezrMar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions.devcontainer/devcontainer.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
// 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@2.1.35 -g && learnpack plugins:install @learnpack/python@1.0.0"

// 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",

// Configure tool-specific properties.
// "customizations": {},

// 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.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
3 changes: 3 additions & 0 deletions.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,12 +2,15 @@
/*

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

!/exercises
!/exercises/*
Expand Down
28 changes: 26 additions & 2 deletions.gitpod.Dockerfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
FROM gitpod/workspace-full:latest

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

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 pip3 install pytest==4.4.2 pytest-testdox mock
RUN npm i -g learnpack && learnpack plugins:install learnpack-python
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==6.2.5 pytest-testdox mock
RUN npm i -g @learnpack/learnpack@2.1.20 && learnpack plugins:install @learnpack/python@1.0.0
9 changes: 6 additions & 3 deletions.gitpod.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,9 +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
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
{
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 700,
"editor.minimap.enabled": false,
"workbench.editorAssociations": {
"*.md": "vscode.markdown.preview.editor"
}
}
84 changes: 84 additions & 0 deletionsREADME.es.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
<!-- hide -->
# 🐍 Tutorial y Ejercicios sobre Funciones de Python</h1>
Creado por <a href="https://twitter.com/alesanchezr">@alesanchezr</a> y <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises/graphs/contributors">otros contribuyentes</a> en <a href="http://4geeksacademy.com/">4Geeks Academy</a>

<a href="https://4geeks.com/interactive-exercise/python-function-exercises"><img height="280" align="right" src="https://raw.githubusercontent.com/4GeeksAcademy/python-lists-loops-programming-exercises/master/python-lp-badge.png"></a>
<!-- endhide -->

Aprende y practica las funciones de Python. Vas a ver los siguientes conceptos:

1. Declarar una función.

2. Llamar a una función.

3. Alcance de una función.

4. Funciones anidadas.

5. Recursividad de funciones y muchos otros conceptos funcionales.

Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente y con 📹 video tutoriales.

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/python-functions-programming-exercises) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/python-functions-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 -g @learnpack/learnpack@2.1.20 && 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/python-functions-programming-exercises.git
$ cd python-functions-programming-exercises
```

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

3. Comienza el tutorial/ejercicios ejecutando el siguiente comando en la raíz del proyecto:

```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) 🐛, (traducción) 🌎

Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors).

¡Todas las contribuciones son bienvenidas!

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).
120 changes: 62 additions & 58 deletionsREADME.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,86 @@
<table>
<tr>
<td><img src="https://assets.breatheco.de/apis/img/images.php?blob&random&cat=icon&tags=4geeks,32"></td>
<td>
<h1> 🐍 Python Funtions Tutorial and Exercises</h1>
<p>By <a href="https://twitter.com/alesanchezr">@alesanchezr</a> and <a href="https://github.com/4GeeksAcademy/python-functions-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/python-functions-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/python-functions-programming-exercises.git"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" /></a>
</td>
</tr>
</table>

Learn and practice Python Functions: Declaring a functoin, Calling a function, function scopes, nest functions, function recursivity and many other functional concepts. 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>
<td>← 🔥 your are here now</td>
<td><a href="https://gitpod.io#https://github.com/4GeeksAcademy/python-functions-programming-exercises.git"><img src="https://gitpod.io/button/open-in-gitpod.svg" /></a></td>
</tr>
<tr><td>4. <a href="https://github.com/4GeeksAcademy/master-python-programming-exercises">Master Python (intermediate)</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.

<p align="center">
<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>
</p>

<h2>One click installation:</h2>

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

By <a href="https://twitter.com/alesanchezr">@alesanchezr</a> and <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises/graphs/contributors">other contributors</a> at <a href="http://4geeksacademy.com/">4Geeks Academy</a>

<a href="https://4geeks.com/interactive-exercise/python-function-exercises"><img height="280" align="right" src="https://raw.githubusercontent.com/4GeeksAcademy/python-lists-loops-programming-exercises/master/python-lp-badge.png"></a>
<!-- endhide -->

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

Learn and practice Python Functions. You will see the following concepts:

1. Declaring a function.

2. Calling a function.

3. Function scopes.

4. Nest functions.

5. Recursive functions and many other functional concepts.

> Note: The entire tutorial is 👆 interactive, ✅ auto-graded and with 📹 video tutorials.

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/python-functions-programming-exercises) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/python-functions-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 [learnpack](https://learnpack.co) installed, `node.js` version 14+ and python version 3+. This is the command to install learnpack:
```
$ npm i learnpack -g && learnpack plugins:install learnpack-python
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 -g @learnpack/learnpack@2.1.20 && learnpack plugins:install @learnpack/python@1.0.0
```

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.
2. Clone or download this repository in your local environment.

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

3) Start the tutorial/exercises by running the following command from the root oftheproject:
> Note: Once you finish downloading, you will find an "exercises" folder that contains alltheexercises within.

```sh
$ cd python-functions-programming-exercises
$ pip install pytest==4.4.2 mock pytest-testdox
3. Start the tutorial/exercises by running the following command from the root of the project:

```bash
$ pip3 install pytest==6.2.5 pytest-testdox mock
$ learnpack start
```

<!-- endhide -->

## How are the exercises organized?

Each exercise is a smallreact application containing the following files:
Each exercise is a smallPython application containing the following files:

1. **app.py:** represents the entrypython file that will be executed by the computer.
1. **app.py:** represents the entryPython 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)):
Thanks to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

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.

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

[8]ページ先頭

©2009-2025 Movatter.jp