On 4/19/2023 7:48 PM, dn via Python-list wrote:
On 20/04/2023 08.59, Thomas Passin wrote:
On 4/19/2023 4:06 PM, Mark Bourne wrote:
print(f'{LIMIT})
^ I think this one should be:
print(f'{LIMIT}')
with the closing quote ;o)
Yup a typo! Where's pylint when I need it?
but (and you design
On 20/04/2023 08.59, Thomas Passin wrote:
On 4/19/2023 4:06 PM, Mark Bourne wrote:
print(f'{LIMIT})
^ I think this one should be:
print(f'{LIMIT}')
with the closing quote ;o)
Yup a typo! Where's pylint when I need it?
but (and you designed it this way - right?) an excellent object-less
On 4/19/2023 4:06 PM, Mark Bourne wrote:
print(f'{LIMIT})
^ I think this one should be:
print(f'{LIMIT}')
with the closing quote ;o)
Yup a typo! Where's pylint when I need it?
--
https://mail.python.org/mailman/listinfo/python-list
Thomas Passin wrote:
On 4/19/2023 1:27 AM, Kevin M. Wilson via Python-list wrote:
Ok, I got rid of the "print (f'"I am thinking of a number between 1 to
{LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),
I think you misunderstand several things at the same time here.
1. T
On 4/19/2023 1:27 AM, Kevin M. Wilson via Python-list wrote:
Ok, I got rid of the "print (f'"I am thinking of a number between 1 to {LIMIT}\n")"print
("I am thinking of a number between 1 to {LIMIT}\n"),
I think you misunderstand several things at the same time here.
1. These errors originate
On 19/04/2023 21.13, Kevin M. Wilson wrote:
Sorry the code snippet I sent was what is written in PyCharm. LIMIT is
defined and is not causing an error!
PyCharm is flagging the Parentheses at the end. It is not seeing the
Parentheses as the end of the print function.
def play_game():
number= ra
Kevin,
As mentioned in another response, the format of these messages seems
very confused.
Please copy-paste all of (the pertinent part of) the code, and ensure
that the line-endings are in the correct places, tab/indentation looks
correct, etc?
(this will allow us to copy the same code into
Ok, I got rid of the "print (f'"I am thinking of a number between 1 to
{LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),
and Pycharm stopped complaining about it... WHY??
Perplexed
"When you pass through the waters, I will be with you: and when you pass
through the rivers, t
print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the
impression that the format specifier 'f' was necessary for the print function,
but the double quotes are for the string printed to the user, as a prompt!The
Pycharm IDE is showing that it expects a single quotation mark or ')'
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
On 4/18/2023 7:18 PM, Kevin M. Wilson via Python-list wrote:
Greetings... Kevin here:I need help, as you have guessed!I have this line: The
Print Statement... Why complain about a 'comma', or a ')'???def play_game():
number = random.randint(1, LIMIT)
print (f'"I am thinking of a number
On 19/04/2023 11.18, Kevin M. Wilson via Python-list wrote:
Greetings... Kevin here:I need help, as you have guessed!I have this line: The
Print Statement... Why complain about a 'comma', or a ')'???def play_game():
number = random.randint(1, LIMIT)
print (f'"I am thinking of a number
On Mon, 21 Mar 2022 15:36:50 + (UTC), "Kevin M. Wilson"
declaimed the following:
>The use of Java options environment variables detected.
>Such variables override IDE configuration files (*.vmoptions) and may cause
>performance and stability issues.
>Please consider deleting these variables
13 matches
Mail list logo