Why can't I define a variable like "miles_driven" with an underscore in Python 3.4.3 ?
Ethan Furman
ethan at stoneleaf.us
Wed Aug 10 17:35:58 EDT 2016
On 08/10/2016 01:57 PM, Cai Gengyang wrote:
> Yea, using IDLE on OSX, Python 3.4.3.
>
> Yeah it works now ... I had to increase the font size and the indentation width. When that happened , it could define miles_driven
I suspect you were defining it before, you just couldn't see the underscore.
--
~Ethan~
More information about the Python-list
mailing list