April 2018
Beginner
238 pages
7h 13m
English
We can use this script:
def mycheckfunction(x): print(x) return xinteractive_checkbox = interactive(mycheckfunction, x=False)interactive_checkbox
This results in this display:

Here, as we click on the checkbox, the value of the box changes and the corresponding value is printed in the display.