Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Working with functions | Introduction to Jupyter notebook: Python
Introduction to Jupyter notebook: Python
course content

Course Content

Introduction to Jupyter notebook: Python

Working with functions

In the same way as with variables, you can declare your own functions and then use them in the notebook.

Task

  1. Replace ... with the necessary calculation. Remember, your function needs to convert number of seconds to days.
  2. Replace ... with the name of function and name of variable you created before.

Task

  1. Replace ... with the necessary calculation. Remember, your function needs to convert number of seconds to days.
  2. Replace ... with the name of function and name of variable you created before.

Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

In the same way as with variables, you can declare your own functions and then use them in the notebook.

Task

  1. Replace ... with the necessary calculation. Remember, your function needs to convert number of seconds to days.
  2. Replace ... with the name of function and name of variable you created before.

Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 3
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt