to make a new cell press 'b'
3+5
8
to make a new markdown cell press 'b' and then 'm
to execute a cell press 'control + enter'
pressing 'shift + enter' will run a cell and then make a new one
if you are inside of a cell and want to make it a markdown, you can press 'control + m' and then 'm'
to delete a cell press 'd''d'
6==7
False
6=7
File "<ipython-input-3-5becc1e26db9>", line 1 6=7 ^ SyntaxError: can't assign to literal
To include an image you can use normal md language
To make a variable simply type it
x=50*2/3+1
to retrive it you can simply type it
x
34.333333333333336
In python variables have types, to evaulate the type we can do:
type(5/4)
float
"Suppose there is a piegeon, suppose there is."
'Suppose there is a piegeon, suppose there is.'
roastbeef= 'Suppose there is a piegeon, suppose there is. \"someone\"'
two_lines='line one\nline two'
two_lines
'line one\nline two'
print(two_lines)
line one line two
x=5
y=4
z=x+y
z
9