Well, I finally ran into a Python Unicode problem, sort of
Lawrence D’Oliveiro
lawrencedo99 at gmail.com
Sun Jul 3 03:07:24 EDT 2016
On Sunday, July 3, 2016 at 6:59:14 PM UTC+12, John Ladasky wrote:
> from math import pi as π
>
> c = 2 * π * r
ldo at theon:~> python3
Python 3.5.1+ (default, Jun 10 2016, 09:03:40)
[GCC 5.4.0 20160603] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from math import pi as π
>>>
>>> c = 2 * π * r
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'r' is not defined
It wasn’t the “π” it was complaining about...
More information about the Python-list
mailing list