Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sorting one by one
#4
(Nov-20-2020, 12:45 PM)3Pinter Wrote: for a second I thought you indented wrong but oh my for else does exists!

Yes, I saw one of Raymond's presentations where he said that if it weren't called "else" but "nobreak", more people would understand it. It handles the case of natural exit from a for or while, rather than a case where "break" was called.
Reply


Messages In This Thread
sorting one by one - by 3Pinter - Nov-20-2020, 08:08 AM
RE: sorting one by one - by bowlofred - Nov-20-2020, 09:09 AM
RE: sorting one by one - by 3Pinter - Nov-20-2020, 12:45 PM
RE: sorting one by one - by bowlofred - Nov-20-2020, 04:41 PM
RE: sorting one by one - by 3Pinter - Nov-20-2020, 06:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sorting a copied list is also sorting the original list ? SN_YAZER 3 3,243 Apr-11-2019, 05:10 PM
Last Post: SN_YAZER

Forum Jump:

User Panel Messages

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