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

Update README.md#10

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

Merged
alesanchezr merged 1 commit into4GeeksAcademy:masterfromhexbreak:patch-2
Feb 8, 2021
Merged
Changes fromall 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: 2 additions & 2 deletionsexercises/05-Defining-vs-Calling-a-function/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,7 +4,7 @@ tutorial: "https://www.youtube.com/watch?v=fz4ttmwZWuc"

# `05` Defining vs Calling a function

Functions will only exists if you or somebody else defines them... is the only way the language compiler/interpreter knows they exist, thereforeis able to run them when you call them.
Functions will only exists if you or somebody else defines them...itis the only way the language compiler/interpreter knows they exist, thereforeit's able to run them when you call them.

To define a function we need to write this basic code formula:

Expand DownExpand Up@@ -34,7 +34,7 @@ this is called **the scope**, and it could be local (inside the function)
and global (outside of the function).

**The Return**: not every function needs to return something, but it is recommended that it does.
Tip: returning `None` is a good default for when you, still,doesn't know if you need to return something.
Tip: returning `None` is a good default for when you, still,don't know if you need to return something.

Example of a function:

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp