4 ms·
python3 destroyed it's ability work as simple calculator. Try this on python3: >>> answer = 1 + 1 >>> print answer
by paskakapu 13y ago
python3 destroyed it's ability work as simple calculator. Try this on python3:
>>> answer = 1 + 1
>>> print answer
- dded 13y agoI don't have Python3 handy, but in Python2 I do this: >>> answer = 1 + 1 >>> answer 2 Doesn't Python3 work the same way? In any case, my PYTHONSTARTUP has this line: from pprint import pprint as pp and I find pp() very nice for printing various structures.