Python Forum
Help with Recursive solution,list items
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Recursive solution,list items
#2
we are glad to help but we are not going to do it for you. Post your code in python tags, any error traceback - in error tags and in full. Also post the assignment verbatim (your current example is contradicting - how passing [1, 1, 1, 1] to function will return True (i.e. items in list appear only one time) when the item 1 appears 4 times)... why [1, 1, 2, 2] will return True and [1, 1, 2, 3] will return False?
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: Help with Recursive solution,list items - by buran - Feb-27-2020, 09:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to parse and group hierarchical list items from an unindented string in Python? ann23fr 1 616 May-23-2024, 05:39 AM
Last Post: Pedroski55
  Collisions for items in a list Idents 3 2,461 Apr-06-2021, 03:48 PM
Last Post: deanhystad
  Removing items in a list cap510 3 2,485 Nov-01-2020, 09:53 PM
Last Post: cap510
  Removing items from list slackerman73 8 4,668 Dec-13-2019, 05:39 PM
Last Post: Clunk_Head
  Sum of elements on the list recursive sev 3 2,689 Jun-20-2019, 02:14 PM
Last Post: sev
  Find 'greater than' items in list johneven 2 4,642 Apr-05-2019, 07:22 AM
Last Post: perfringo
  How to add items within a list Mrocks22 2 2,805 Nov-01-2018, 08:46 PM
Last Post: Mrocks22
  Storing Minimum List of values from a recursive function sigsegv22 1 2,628 Sep-10-2018, 01:25 PM
Last Post: ichabod801
  How to keep duplicates and remove all other items in list? student8 1 5,086 Oct-28-2017, 05:52 AM
Last Post: heiner55
  Help printing any items that contains a keyword from a list Liquid_Ocelot 13 92,021 May-06-2017, 10:41 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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