Jul-09-2020, 12:29 AM
sets are unordered. That is why they are not subsrcriptable. Try this:
a_set = {1, 2, 3, 4, 5} a_set[0]
What is distinction between 'sent3' and 'set(sent3)'?
|
|
Messages In This Thread |
What is distinction between 'sent3' and 'set(sent3)'? - by AOCL1234 - Jul-08-2020, 09:51 PM
RE: What is distinction between 'sent3' and 'set(sent3)'? - by deanhystad - Jul-09-2020, 12:29 AM
RE: What is distinction between 'sent3' and 'set(sent3)'? - by AOCL1234 - Jul-09-2020, 03:30 AM
RE: What is distinction between 'sent3' and 'set(sent3)'? - by deanhystad - Jul-09-2020, 03:51 AM
RE: What is distinction between 'sent3' and 'set(sent3)'? - by bowlofred - Jul-11-2020, 07:59 AM
RE: What is distinction between 'sent3' and 'set(sent3)'? - by Yoriz - Jul-09-2020, 05:30 AM
|