'Shouldn't there be multiple infinity constants in Python?
I am asking this question because, in mathematics, it can be proven that there are in fact many infinities. This is because it seem that some infinite sets have a different cardinality (size). For example, the set of real numbers has a cardinality greater than that of the natural numbers. Now, in Python, there is an infinity constant, but there is only one of them. Also, it seems there is only a floating point infinity. So shouldn't there be at least a few more? I am aware that this may not have many applications outside of mathematics, but is it even possible in Python? Any help on this would be greatly appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
