This repository contains some code-snippets to show the use of jupyter-notebook-ipywidgets.
This notebook shows three methods for assigning variables by mean of jupyter ipywidgets, interact and interactive.
For more refers to official readocs of ipywidgets.