Re: HELP Please, Python Program Help

2021-04-10 Thread dn via Python-list
On 10/04/2021 22.57, Joseph Roffey wrote: > Hi, Im looking for some help with my program, I have been set a task to make > a Strain Calculator. I need it to input two numbers, choosing either Metres > or Inches for the 'Change in Length' divided by the 'Original Length' which > can also be in

HELP Please, Python Program Help

2021-04-10 Thread Joseph Roffey
Hi, Im looking for some help with my program, I have been set a task to make a Strain Calculator. I need it to input two numbers, choosing either Metres or Inches for the 'Change in Length' divided by the 'Original Length' which can also be in Metres or Inches, the out put number also needs to

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

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

Python Program Help

2020-07-21 Thread ksikor14--- via Python-list
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 You entered: Number of Novels Authored (2) Prompt the