2. First error message

>>> Print ("hello world!")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'Print' is not defined

Now try it on your own!

>>> print (hello world)
  File "<stdin>", line 1
    print (hello world)
                    ^
SyntaxError: invalid syntax

Now try it on your own!

>>> print "hello world"
  File "<stdin>", line 1
    print "hello world"
          ^
SyntaxError: missing parenthesis in call to 'print'

Now try it on your own!

>>>   print("first message!")
  File "<stdin>", line 1
    print "hello world"
  ^
SyntaxError: unexpected indent

Now try it on your own!

You have attempted of activities on this page