If you double click on this cell, you will see the text change so that all of the formatting is removed. This allows you to edit this block of text. This block of text is written using Markdown, which is a way to format text using headers, links, italics, and many other options. Hit shift + enter or shift + return to show the formatted text again. This is called "running" the cell, and you can also do it using the run button in the toolbar.
In [2]:
from sympy import *
init_printing()
In [3]:
x=Symbol('x')
In [4]:
a=x**2-1
a
Out[4]:
In [6]:
y,z=symbols('y z')
In [7]:
a.subs(x,y+1)
Out[7]:
In [8]:
a=(x+y-z)**6
a
Out[8]:
In [9]:
a=expand(a)
a
Out[9]:
In [ ]:
In [ ]:
In [ ]: