Pycharm IDE
aapost
aapost at idontexist.club
Tue Apr 18 20:02:49 EDT 2023
On 4/18/23 19:18, Kevin M. Wilson wrote:
>Why complain about a 'comma', or a ')'???
> print (f'"I am thinking of a number between 1 to {LIMIT}\n")
my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the
print with ) as you have
or , to add additional arguments to print
More information about the Python-list
mailing list