On Dec 13, 4:50 am, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote: > On Fri, 12 Dec 2008 03:42:55 -0800 (PST), feb...@gmail.com declaimed the > following in comp.lang.python: > > > #!/usr/bin/python > > #Py3k, UTF-8 > > > bank = int(input("How much money is in your account?\n>>")) > > target = int(input("How much money would you like to earn each year? > > \n>>")) > > Just for my curiosity -- did Python 3.x (besides turning print into > a function) also change input() to behave as the old raw_input()?
Yup. There've been some other tectonic plate shift effects, e.g.: xrange() -> range(); range() -> list(range()) dict.iteritems() -> dict.items(); dict.items() -> list(dict.items()) halfassci() -> repr(); repr() -> ascii() -- http://mail.python.org/mailman/listinfo/python-list