Python Forum
What exactly is wrong with my list.append function?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What exactly is wrong with my list.append function?
#3
Good catch. It must have stuck with me from previously, where I used i+1 to print the char positions correctly. (I was working on this late at night with no coffee, okay? Don't judge me XD)
Yep, that seems to be the problem. Thanks! Btw, the reason I don't call analyser() in the code is because I was testing it on IDLE, which for some reason required me to FIRST define it, THEN call it. Go figure.
Reply


Messages In This Thread
RE: What exactly is wrong with my list.append function? - by Coga19000 - Aug-24-2017, 08:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  append str to list in dataclass flash77 6 541 Mar-14-2024, 06:26 PM
Last Post: flash77
Question How to append integers from file to list? Milan 8 1,476 Mar-11-2023, 10:59 PM
Last Post: DeaD_EyE
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,619 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  read a text file, find all integers, append to list oldtrafford 12 3,656 Aug-11-2022, 08:23 AM
Last Post: Pedroski55
  Using .append() with list vs dataframe Mark17 7 10,698 Jun-12-2022, 06:54 PM
Last Post: Mark17
  print function output wrong with strings. mposwal 5 3,166 Feb-12-2021, 09:04 AM
Last Post: DPaul
  How to append multiple <class 'str'> into a single List ahmedwaqas92 2 2,363 Jan-07-2021, 08:17 AM
Last Post: ahmedwaqas92
  How to append to list a function output? rama27 5 6,786 Aug-24-2020, 10:53 AM
Last Post: DeaD_EyE
  Append list into list within a for loop rama27 2 2,419 Jul-21-2020, 04:49 AM
Last Post: deanhystad
  Append only adding the same list again and again viraj1123 4 2,074 Jun-17-2020, 07:26 AM
Last Post: viraj1123

Forum Jump:

User Panel Messages

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