Re: Python Program Help

2020-07-22 Thread Elias Fotinis
On 21/07/2020 22:25, Terry Reedy wrote: The only way I discovered to get that error, on Windows, is to hit control-D in response to the prompt. Slight correction: On Windows, EOF is signaled with Ctrl-Z. This is the same as hitting F6 in the legacy console (can't check with Win10 at the momen

Re: Python Program Help

2020-07-21 Thread dn via Python-list
On 7/22/20 7:16 AM, Dennis Lee Bieber wrote: On Tue, 21 Jul 2020 06:38:55 -0700 (PDT), ksikor14--- via Python-list declaimed the following: Since this is apparently a homework assignment, I'm not going to provide fixes -- just some comments. Logic error? (not entirely poking-fun: is

Re: Python Program Help

2020-07-21 Thread Terry Reedy
On 7/21/2020 11:08 AM, MRAB wrote: On 2020-07-21 14:38, ksikor14--- via Python-list wrote: I can't seem to figure out what I am doing wrong.  I have tried everything.  This is what it is supposed to do: [snip] I get this error: Traceback (most recent call last):    File "main.py", line 1, in

Re: Python Program Help

2020-07-21 Thread MRAB
On 2020-07-21 14:38, ksikor14--- via Python-list wrote: I can't seem to figure out what I am doing wrong. I have tried everything. This is what it is supposed to do: (1) Prompt the user for a title for data. Output the title. (1 pt) Ex: Enter a title for the data: Number of Novels Authored