Input blocks
Input cells are a great way to add different user inputs are variables to be used within your blocks.
In Deepnote you can easily add another block with an input cell by clicking on the + Block button. From there, you can choose from 4 different types of input cells, Text, Select, Slider or Date input, by scrolling down to where it says Inputs.
You can choose your variable name, explore more settings of inputs or delete input by clicking on its default name.
Finally, you can use these inputs as variables within part of your code. For example, you can use text input variables within print statements, as seen in the photo below.
Copy link