Re: [Tutor] input python 3.3

2014-02-04 Thread Dave Angel
Ian D Wrote in message: > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > When making an amendment to a post, please reply to that post; don't start a new

Re: [Tutor] input python 3.3

2014-02-04 Thread Alan Gauld
On 04/02/14 09:01, Ian D wrote: I used to use 2.7 and the input was pretty when inputting a numeric value, it would just get cast to an int. Just to be picky it would get converted to an int not cast as an int. casting and converting are two very different things. casting means treat a bit pa

Re: [Tutor] input python 3.3

2014-02-04 Thread Peter Otten
Ian D wrote: > Hello > > I used to use 2.7 and the input was pretty when inputting a numeric value, > it would just get cast to an int. > > Seems that 3.3 I have to cast each input so : > float(num1 = input("Enter a number") You mean num1 = float(input("Enter a number")) > Is this just t

[Tutor] input python 3.3

2014-02-04 Thread Ian D
Hello I used to use 2.7 and the input was pretty when inputting a numeric value, it would just get cast to an int. Seems that 3.3 I have to cast each input so : float(num1 = input("Enter a number") Is this just they way it is now? Is there a way to get back to just typing: num1 = input("Ent