4 ms·
As sad as it may sound, the most annoying thing about Python 3 for me is this: print "Hi" vs print("hi") Other than that, as Alex said there isn't much diff
by mburst 13y ago
As sad as it may sound, the most annoying thing about Python 3 for me is this:
print "Hi"
vs
print("hi")
Other than that, as Alex said there isn't much difference between the two.
- codygman 13y agoYeah, I personally find the first example makes code a lot cleaner.
- mathgenius 13y agoI totally agree. I sat silent at europy in 2006 as guido explained he was breaking the print statement. At europy in 2007, when he gave the same talk, I boo-ed, loudly. He said "well no-one complained when I talked about this last year." My bad. Being able to instantly pepper my code with print statements is how I (and many others) debug. It really gives me the shits these extra parens. So I continue to boycott py3.