Python Forum
Questions about elements in dict
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions about elements in dict
#6
(Feb-08-2020, 05:25 AM)ndc85430 Wrote: Do you really want the tuple in the set, or do you actually want a set of the individual values?

I am just trying to understand some concepts/examples presented in books. I guess the goal is to make the elements in the set list-like (changeable) via the tuple function. It is not clear to me how the example accomplishes that.
Reply


Messages In This Thread
Questions about elements in dict - by new_to_python - Feb-08-2020, 01:44 AM
RE: Questions about elements in dict - by stullis - Feb-08-2020, 03:07 AM
RE: Questions about elements in dict - by ndc85430 - Feb-08-2020, 05:25 AM
RE: Questions about elements in dict - by perfringo - Feb-08-2020, 07:05 AM
RE: Questions about elements in dict - by new_to_python - Feb-08-2020, 02:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ValueError: Length mismatch: Expected axis has 8 elements, new values have 1 elements ilknurg 1 5,112 May-17-2022, 11:38 AM
Last Post: Larz60+
  Sorting Elements via parameters pointing to those elements. rpalmer 3 2,584 Feb-10-2021, 04:53 PM
Last Post: rpalmer
  Sort a dict in dict cherry_cherry 4 72,903 Apr-08-2020, 12:25 PM
Last Post: perfringo
  dict elements are sometimes treated as List and sometimes as String phython_mdr 4 2,679 Apr-01-2020, 12:47 PM
Last Post: phython_mdr
  Discord bot that asks questions and based on response answers or asks more questions absinthium 1 38,608 Nov-25-2017, 06:21 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

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