Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2d List not returning
#2
[x][y] is not a valid python object. [x] is one-element list as well as [y]. ([x], [y]) is two-element tuple, each element being one-element list.
maybe explain what you want to achieve
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
2d List not returning - by DariusKsm - Sep-22-2020, 04:40 PM
RE: 2d List not returning - by buran - Sep-22-2020, 05:03 PM
RE: 2d List not returning - by DariusKsm - Sep-22-2020, 05:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  list.sort() returning None SmallCoder14 8 3,548 Mar-19-2024, 09:49 PM
Last Post: SmallCoder14
  returning a List of Lists nafshar 3 1,959 Oct-28-2022, 06:28 PM
Last Post: deanhystad
  Need help returning min() value of list? edwdas 3 2,861 Nov-10-2019, 09:43 PM
Last Post: snippsat
  API call returning list value of 'None' jimbone30 5 3,622 Jun-14-2019, 07:42 PM
Last Post: jimbone30

Forum Jump:

User Panel Messages

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