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
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 need
*SCIENTIFIC SOFTWARE DEVELOPER FOR THE DIGITAL TWIN OF THE OCEAN*
[Job Opening Code: 12443]
*Lecce (Italy) - Deadline: 30/04/2023*
Our Division of Advanced Scientific Computing (ASC Division) is considering
the possibility to hire a talented and proactive Post Degree candidate to
support CMCC res