PROGRAMMING

  MINTE9
REMEMBERS




Cli

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

print('Hello World')

# python hello.py
    # Hello World

Mistakes

p31 When learning new features try to make mistakes on purpose (helps to remember).
 
print('Hello World') # correct
    # Hello World

# print 'Hello World' # incorrect
    # SyntaxError: Missing parentheses in call to 'print'

Questions     github Language
Variables
        A B C D E F
🔔
1/1