Skip to content

Commit 0ab4254

Browse files
committed
Update func_Str_Cond.rst
1 parent 37cba64 commit 0ab4254

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_sources/functions/func_Str_Cond.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Students will know and be able to do the following.
3838
Function Example
3939
==================
4040

41+
A function is a name for one or more lines of code. You first define a function using the ``def`` keyword and then execute it using ``function_name(arguments)``.
42+
4143
.. fillintheblank:: fsc_fitb_print_test_first_line_v3
4244

4345
What is the first thing that will be printed when the code below runs?
@@ -86,12 +88,10 @@ Run the Python code below and then answer the following questions.
8688
- :2: Since the value of b was not specified it defaults to 2 (it was set to 2 as a default in the function definition)
8789
:.*: What is the default value specified for b in the function definition?
8890

89-
Delete the last line of the test function above and run the code again.
90-
9191
.. fillintheblank:: fsc_fitb_return_None
9292
:practice: T
9393

94-
What value is returned from a function that doesn't have a return keyword?
94+
Delete the last line of the ``test`` function above and run the code again. What value is returned from a function that doesn't have a ``return`` keyword?
9595

9696
- :None: A function without a return still returns the keyword None
9797
:.*: What is the last thing that is printed when you run the code above after deleting the return from the test function?

0 commit comments

Comments
 (0)