Entering a very large number
ast
none at gmail.com
Sun Mar 25 13:18:23 EDT 2018
Le 25/03/2018 à 03:47, Steven D'Aprano a écrit :
> On Sun, 25 Mar 2018 00:05:56 +0100, Peter J. Holzer wrote:
>
>
> The Original Poster (OP) is concerned about saving, what, a tenth of a
> microsecond in total? Hardly seems worth the effort, especially if you're
> going to end up with something even slower.
>
>
I regret that many answers are malicious, as your.
The question was how to enter a large number without
going through a string, no matter why.
This question is absolutely legitimate, contrary to
some people think.
It seems that it is not feasible unless writting it in
a single line, which is awful.
OK, go on with the string, and Wolfgang solution using
triple quote is good.
More information about the Python-list
mailing list