Notebook Documents
On the desktop or web, you can use Wolfram Notebooks, which mix text, graphics, interfaces, etc. with code:
Notes for Java programmers:
Java source files can only contain code and comments. Higher-level formatting and organization additionally require a dedicated Java IDE.
Notes for Python programmers:
Wolfram Notebooks have been in continuous development for more than three decades, and are a fully integrated part of the Wolfram Language on both desktop and cloud. They serve as the inspiration for notebook libraries such as Jupyter.
Notebooks are organized in cells, indicated by brackets on the right
Double-click a cell bracket to open or close a group of cells
Click between cells to get a horizontal insertion bar to create a new cell:
(then just start typing)
Copy, paste, delete, etc. any collection of cells.
Select any collection of cells and press SHIFT+ENTER to evaluate inputs.