PROGRAMMING

  minte9
learningjourney




S R Q

Cli

1 p23 Print Hello World from command line.
 
$ python

>>> print('Hello World') # Hello World

File

Print Hello World from script (a file with .py extension).
 
""" hello.py
python hello.py
"""

print('Hello World') # Hello World

Mistakes

1 p31 When learning new features try to make mistakes on purpose.
 
""" Making mistakes on purpose, helps to remember
print 'Hello World' # SyntaxError
"""

print('Hello World') # Hello World

Questions    
Last update: 69 days ago