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
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
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
wrote:
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
at 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 ')'! No error message is displayed.
Perplexed
"When you pass through the waters, I
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=
1:17:52 PM MDT, Kevin M. Wilson via Python-list
wrote:
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!T
m 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 ')'! No err
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 quot
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
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
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 between 1 to {LIMIT}\n")Or is this a
setting in the IDE, I
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
Greetings Python coders,
I have installed the Pycharm IDE, and upon successfully auto
install of the path/environment statements.
The IDE opened and displayed (bottom right corner):
The use of Java options environment variables detected.
Such variables override IDE configuration
15 matches
Mail list logo