[Edu-sig] source code from SA:10648

John Posner jjposner at optimum.net
Fri Jul 16 15:17:07 CEST 2010


Kirby wrote:

>      for question, answer in quiz:
>          print(question)
>          user_answer = raw_input("Your answer? ")
>    

Kirby, will the class be using Py2 or Py3? It looks like you're 
mix-and-matching, using the *print* function (Py3) along with the 
*raw_input* function (Py2). Do you really want to inflict "from 
__future__ import print_function" on your students?

Best,
John



More information about the Edu-sig mailing list