Question about math.pi is mutable

Marko Rauhamaa marko at pacujo.net
Fri Nov 6 07:55:00 EST 2015


Chris Angelico <rosuav at gmail.com>:

> Simply because, in Python, virtually everything can be changed. You're
> welcome to go in and say "math.pi = 3" if you like... and then you
> accept the consequences of that.

How far cosmology would have evolved by now if Albert Einstein had had
Python at his disposal. He could simply have been able to experiment
with different values of the Cosmological Constant and seen the effects
around him in the room.


Marko



More information about the Python-list mailing list