Chapter 1: Introduction

Example 1, page no. 18

In [1]:
print "Hello World"
print "Bye."
Hello World
Bye

Example 2, page no. 24

In [1]:
print "Hello World"
#This program will give error
Hello World

Example 3, page no. 24

In [3]:
print "Hello World"
print "Bye."
Hello World
Bye.

Example 4, page no. 24

In [2]:
print "Hello World";print "Bye."
Hello World
Bye.

Example 5, page no. 25

In [6]:
print "\
    Hello World"

print "\
    Bye."
    Hello World
    Bye.