Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Forcing input from pre-defined list.
Post: RE: Forcing input from pre-defined list.

Thank you both - brilliantly explained and actually made a lot of sense :) I am starting (slowly) to get my head around coding, and you patience is appreciated. On this the last statement, there is...
scotty501 General Coding Help 11 6,148 Jun-18-2019, 01:49 PM
    Thread: Forcing input from pre-defined list.
Post: RE: Forcing input from pre-defined list.

(Jun-18-2019, 11:28 AM)perfringo Wrote: Word of caution about str.isdigit(). Code will blow up spectacularly in corner cases: >>> '1²'.isdigit() ...
scotty501 General Coding Help 11 6,148 Jun-18-2019, 11:46 AM
    Thread: Forcing input from pre-defined list.
Post: RE: Forcing input from pre-defined list.

Thanks - that makes sense for me to replace the "if and elif" commands, but apart from keeping the code smaller, does it matter? I still have the issue where the output from my code (see 2 posts up) ...
scotty501 General Coding Help 11 6,148 Jun-18-2019, 11:17 AM
    Thread: Forcing input from pre-defined list.
Post: RE: Forcing input from pre-defined list.

Thanks for all the great responses, I am trying to adapt my sample code as I want to learn what is happening, rather than just copy someone else code. I am playing with the first suggestion and using...
scotty501 General Coding Help 11 6,148 Jun-18-2019, 08:26 AM
    Thread: Forcing input from pre-defined list.
Post: Forcing input from pre-defined list.

Hello All, I am stumbling into the world of programming, and have started by watching videos, and reading beginner instructions on Python. I have just started with Hello World, and using an online l...
scotty501 General Coding Help 11 6,148 Jun-17-2019, 12:46 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020