I will agree that it seems odd, but here is a sample run from my system.  I
promise I am not pulling anyone's leg!   :-))

wallenpb@Ubuntu-D810:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print("hello world")
hello world
>>> x = input("how many?")
how many?5
>>> x
5

On Thu, Jan 13, 2011 at 9:31 PM, Corey Richardson <kb1...@aim.com> wrote:

> On 01/13/2011 10:29 PM, Bill Allen wrote:
> > That is correct about the difference between Python 2 and Python 3
> > syntax.   However, I am surprised that with 2.7.1 these do not work.   I
> > have found that on my Ubuntu system with Python 2.6.5 these Python 3
> > syntax items do seem to work properly.  I am assuming they were back
> > ported or something.  I would have expected the same for 2.7.1.
> >
> > --Bill
>
> I'm using Python 2.6.6 and I have a feeling you are not using python
> 2.6.5 with Python3 syntax working. I could be very wrong, but just a
> hunch ;)
>
> ~Corey
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to