Skip to content

Commit 3969559

Browse files
committed
explain return with input()
1 parent f656c7e commit 3969559

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

defining-functions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ assign it to a variable.
395395
variables.
396396
- Functions can take **arguments** and they can behave differently
397397
depending on what arguments they get. Functions can also
398-
**return** one value. Returning also ends the function immediately.
398+
**return** one value, like the built-in input function does.
399+
Returning also ends the function immediately.
399400
- Return a value instead of printing it if you need to do something with
400401
it after calling the function.
401402

0 commit comments

Comments
 (0)