14 points · by mronge · 17y ago · 6 comments
This actually printed "hg" for me the first time I ran it.
Chosen DVCS
import random
print(random.choice(['svn', 'bzr', 'hg', 'git']))
http://svn.python.org/view/peps/trunk/pep-0374.txt?r1=70206&... Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'random' is not definedAnd git came on 12th try.