In [1]:
print 'rude magic and lexxus is the best'


rude magic and lexxus is the best

In [2]:
x = 'lexxus is the best so is ocean'

In [3]:
print x


lexxus is the best so is ocean

In [4]:
5+500


Out[4]:
505

In [5]:
ocean is the best in the world
print x
ocean
print
ocean
ocean.


  File "<ipython-input-5-7315aff9b438>", line 1
    ocean is the best in the world
                    ^
SyntaxError: invalid syntax

In [6]:
ocean is cool


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-6-b8ffeb81a750> in <module>()
----> 1 ocean is cool
      2 

NameError: name 'ocean' is not defined

In [7]:
10000+20500=


  File "<ipython-input-7-a33b8b04a76c>", line 1
    10000+20500=
                ^
SyntaxError: invalid syntax

In [8]:
ocean


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-8-32f4db44b029> in <module>()
----> 1 ocean

NameError: name 'ocean' is not defined

In [8]:


In [9]:
ocean


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-9-32f4db44b029> in <module>()
----> 1 ocean

NameError: name 'ocean' is not defined

In [9]:


In [10]:
toooooooooooooooooooooooooooooooooooo thusand


  File "<ipython-input-10-a6f3f770623c>", line 1
    toooooooooooooooooooooooooooooooooooo thusand
                                                ^
SyntaxError: invalid syntax

In [11]:
print 'oceanis the best'


oceanis the best

In [12]:
ocean is cool


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-12-8cc1a3e2f167> in <module>()
----> 1 ocean is cool

NameError: name 'ocean' is not defined

In [13]:
ocean is very cool'


  File "<ipython-input-13-eb86c5d94c4a>", line 1
    ocean is very cool'
                     ^
SyntaxError: invalid syntax

In [16]:
'ocean'


Out[16]:
'ocean'

In [14]:
print  'ocean'


ocean

In [15]:
'ocean is cool'


Out[15]:
'ocean is cool'

In [17]:
5*5


Out[17]:
25

In [18]:
5*100


Out[18]:
500

In [19]:
x =8

In [20]:
print x


8

In [21]:
8*20000


Out[21]:
160000

In [22]:
myname = 'ocean'

In [23]:
print 'hello there 'ocean'


  File "<ipython-input-23-d558c132417f>", line 1
    print 'hello there 'ocean'
                            ^
SyntaxError: invalid syntax

In [24]:
print 'hello there ' + 'ocean'


hello there ocean

In [ ]: