Lab1

This is the first lab, how to work with python and how to run a program

In this lad i worked with python shell and also python IDLE. I learned how to create programs and how to run the and save the programs.  And for first time i successfully run a program called “Hello World”.

 

>>> 1+1
2
>>> print ‘Hi Mom’
SyntaxError: invalid syntax
>>> ‘Hi Mom’
‘Hi Mom’
>>> 1+1.2
2.2
>>> print Hello
SyntaxError: invalid syntax
>>> ‘Hello’
‘Hello’
>>> ================================ RESTART ================================
>>>
>>>