[Tutor] confused!

Jeff Shannon jeff@ccvcorp.com
Fri, 06 Sep 2002 10:07:04 -0700


Sean 'Shaleh' Perry wrote:

> On Friday 06 September 2002 09:47, alan.gauld@bt.com wrote:
> > > and for example, when u type >>>print "hello world" and
> > > run it what should u expect the computer to do.
> >
> > print "hello world" on the screen.
> >
> > What does it do for you?
> >
>
> I half believe the original poster expected his printer to spit out a page
> with "hello world" on it.

Either that, or they may have taken the prompt a bit too literally...

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

Jeff Shannon
Technician/Programmer
Credit International