Python Forum
Newbie Question re "TypeError: '<' not supported between instances of 'list' and 'int
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie Question re "TypeError: '<' not supported between instances of 'list' and 'int
#5
my_list3 is list of lists, so on line 14 when you iterate over my_list3 i is a list, i.e. you pass a list as argument to function_1
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
RE: Newbie Question re "TypeError: '<' not supported between instances of 'list' and 'int - by buran - Apr-11-2019, 07:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How is pandas modifying all rows in an assignment - python-newbie question markm74 1 848 Nov-28-2023, 10:36 PM
Last Post: deanhystad
  newbie question - can't make code work tronic72 2 845 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Newbie question about switching between files - Python/Pycharm Busby222 3 770 Oct-15-2023, 03:16 PM
Last Post: deanhystad
  Newbie.... run for cover. OpenCV question Stevolution2023 2 1,091 Apr-12-2023, 12:57 PM
Last Post: Stevolution2023
  numpy newbie question bcwilly_ca 4 1,346 Feb-10-2023, 05:55 PM
Last Post: jefsummers
  TypeError: float() argument must be a string or a number, not 'list' Anldra12 2 5,158 Jul-01-2022, 01:23 PM
Last Post: deanhystad
  TypeError: unsupported opperand type(s) for %: 'int' and 'list' cool_person 7 2,410 May-07-2022, 08:40 AM
Last Post: ibreeden
  TypeError: list indices must be integers or slices, not range Anldra12 2 2,861 Apr-22-2022, 10:56 AM
Last Post: Anldra12
  Noobie Python TypeError question zoid 4 8,210 Sep-01-2021, 02:28 PM
Last Post: zoid
  Question from complete python's newbie Davicom 3 2,508 Jun-09-2021, 06:09 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

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