Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

(Sep-15-2021, 09:08 AM)Larz60+ Wrote: Please remember python has been around for 30 years now. It has functioned well for some of the worlds most popular applications including:Instagram's applicati...
sdd General Coding Help 32 8,911 Sep-15-2021, 11:37 AM
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

(Sep-15-2021, 03:35 AM)perfringo Wrote: (Sep-15-2021, 01:07 AM)sdd Wrote: Nobody starts counting with zero so it's unlogical to me. Are you nobody? I suspect that like rest of us you were born 0 y...
sdd General Coding Help 32 8,911 Sep-15-2021, 11:11 AM
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

How about this one thislist = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"] print(thislist[2:5]) My first objection - why does Python start counting with zero instead of one? Nobod...
sdd General Coding Help 32 8,911 Sep-15-2021, 01:07 AM
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

(Sep-13-2021, 06:15 AM)perfringo Wrote: (Sep-12-2021, 06:11 PM)sdd Wrote: if for-loop means for each - why not simply use the for each expression in python instead of the for-loop expression? Then...
sdd General Coding Help 32 8,911 Sep-13-2021, 08:09 PM
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

(Sep-13-2021, 02:05 AM)SamHobbs Wrote: (Sep-01-2021, 10:33 PM)Yoriz Wrote: if you use more descriptive variable names it reads a bit more like English for letter in "banana":  print(letter)Yes the...
sdd General Coding Help 32 8,911 Sep-13-2021, 07:41 PM
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

(Sep-02-2021, 04:15 AM)perfringo Wrote: Consider this: - for-loop means 'for each' and 'for each letter in word' is very logical in my mind - for-loop is not the only loop in Python. There is also ...
sdd General Coding Help 32 8,911 Sep-12-2021, 06:11 PM
    Thread: Newbie have thoughts about logic
Post: RE: Newbie have thoughts about logic

Thanks for all replies! I question python because I believe it can be improved in terms of ease of learning and use, but being a newbie I'm probably wrong most of the time. Here's another one: txt =...
sdd General Coding Help 32 8,911 Sep-12-2021, 06:01 PM
    Thread: Newbie have thoughts about logic
Post: Newbie have thoughts about logic

I have just started learning python and being a logical person and seeing this language with fresh new eyes I get curious about the logic in some of the rules. For instance, for x in "banana": prin...
sdd General Coding Help 32 8,911 Sep-01-2021, 10:20 PM

User Panel Messages

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