Dracula theme template
Dracula theme template
Examples
Examples
Input cells
Input cells
Defined user symbol
Defined user symbol
◼
Below is an example a defined function:
In[]:=
funcNoTypes[x_]:=x+1funcTypes[x_Integer,y_Real,z_String]:=Module[{value},value=1;If[y>x,Print[x+value-y],Print[z<>" : just a string!"]]]
◼
Below is a program cell
funcProgram[x_Integer] := With[{y = 2+2}, x+y]
◼
Python language cell...
2+2
Out[]=
4
◼
W|A Short input...
In[]:=
Out[]=
Undefined user symbol
Undefined user symbol
funUndef[x_Integer]:=Module[{x,y},y=2;x+y(*here'sacommentaboutlocalscopeconflict*)]
In[]:=
Echo[2+2]
Output cells
Output cells
»
4
Out[]=
4
Out[]=
1
Lists
Lists
Definition tests
Definition tests