Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes issue #76 #142

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .github/workflows/corretor_de_exercicios_secao_05.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ jobs:
if: always()
run: |
python -m doctest -f secao_05_exercicios_funcoes/ex_01_piramide.py
- name: Correção do Exercício 03 da seção de Funções
if: always()
run: |
python -m doctest -f secao_05_exercicios_funcoes/ex_03_soma3.py
13 changes: 13 additions & 0 deletions secao_05_exercicios_funcoes/ex_03_soma3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""
Exercício 03 da seção de listas da Python Brasil:
https://wiki.python.org.br/ExerciciosFuncoes

Faça um programa, com uma função que necessite de três argumentos, e que forneça a soma desses três argumentos.

>>> soma(50, 100, 150)
300
>>> soma(1000, 2000, 3000)
6000
>>> soma(1, 2, 3)

"""