Skip to content

Ejercicio funciones finalizado#9

Open
afgsanchez wants to merge 1 commit intoaprendedeceropython:funcionesfrom
afgsanchez:funciones
Open

Ejercicio funciones finalizado#9
afgsanchez wants to merge 1 commit intoaprendedeceropython:funcionesfrom
afgsanchez:funciones

Conversation

@afgsanchez
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@wcervini wcervini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Es una buena practica indicar los tipos de paramtros en cada funcion, adicionalmente indicar que valor o valores devolvemos un ejemplo seria este:
def suma(a:int,b:int=0)->int:
return a+b

suma(2)
por defecto b tiene valor cero y se puede omitir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants