Python Forum
preferred?: multiple assignment
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
preferred?: multiple assignment
#2
The latter is definitely more concise and to-the-point. I would go with that unless you want identity to different when equality would still be equal (e.g. a bunch of empty tuples).
Reply


Messages In This Thread
preferred?: multiple assignment - by Skaperen - Dec-03-2016, 03:18 AM
RE: preferred?: multiple assignment - by micseydel - Dec-03-2016, 03:27 AM
RE: preferred?: multiple assignment - by nilamo - Dec-05-2016, 10:57 PM
RE: preferred?: multiple assignment - by Skaperen - Dec-17-2016, 03:28 AM
RE: preferred?: multiple assignment - by micseydel - Dec-17-2016, 07:56 AM
RE: preferred?: multiple assignment - by Skaperen - Dec-19-2016, 08:00 AM
RE: preferred?: multiple assignment - by Ofnuts - Dec-19-2016, 06:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Preferred way to slice a list SvetlanaofVodianova 3 2,580 Dec-09-2019, 11:50 PM
Last Post: SvetlanaofVodianova
  Is Event.set() the preferred way to stop a thread? svetlanarosemond 5 3,883 Jul-17-2018, 08:14 AM
Last Post: DeaD_EyE
  a preferred choice os the two lines? Skaperen 9 6,421 May-27-2017, 02:31 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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