Python Forum
Why do I have to repeat items in list slices in order to make this work?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why do I have to repeat items in list slices in order to make this work?
#7
Dictionary. You will need to learn about dictionaries. A very important part of Python.
Pythonica likes this post
Reply


Messages In This Thread
RE: Why do I have to repeat items in list slices in order to make this work? - by deanhystad - May-19-2023, 09:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Extending list doesn't work as expected mmhmjanssen 2 285 May-09-2024, 05:39 PM
Last Post: Pedroski55
  Copying the order of another list with identical values gohanhango 7 1,307 Nov-29-2023, 09:17 PM
Last Post: Pedroski55
  hi need help to make this code work correctly atulkul1985 5 932 Nov-20-2023, 04:38 PM
Last Post: deanhystad
  tuple indices must be integers or slices, not str cybertooth 16 12,206 Nov-02-2023, 01:20 PM
Last Post: brewer32
  newbie question - can't make code work tronic72 2 789 Oct-22-2023, 09:08 PM
Last Post: tronic72
  No matter what I do I get back "List indices must be integers or slices, not list" Radical 4 1,372 Sep-24-2023, 05:03 AM
Last Post: deanhystad
  Beginner: Code not work when longer list raiviscoding 2 922 May-19-2023, 11:19 AM
Last Post: deanhystad
  Response.json list indices must be integers or slices, not str [SOLVED] AlphaInc 4 6,725 Mar-24-2023, 08:34 AM
Last Post: fullytotal
  Finding combinations of list of items (30 or so) LynnS 1 938 Jan-25-2023, 02:57 PM
Last Post: deanhystad
  How to work with list kafka_trial 8 2,142 Jan-24-2023, 01:30 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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