Created
July 17, 2012 16:11
-
-
Save alejandrobernardis/3130344 to your computer and use it in GitHub Desktop.
Demo CSV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from random import choice | |
| for a in range(20): | |
| print u'Mi primer pregunta es, qué puedo hacer si esto sale mal? %(pos)s'\ | |
| u'|Respuesta %(pos)s.1'\ | |
| u'|Respuesta %(pos)s.2'\ | |
| u'|Respuesta %(pos)s.3'\ | |
| u'|Respuesta %(pos)s.4'\ | |
| u'|Respuesta %(pos)s.5'\ | |
| u'|%(num)s' % dict(pos=a, num=choice("12345")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment