Python Forum
Can anyone spot why this function is returning an empty list?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can anyone spot why this function is returning an empty list?
#3
Is the else in line 8 supposed to line up with the if in line 5?

I think you want to pad out the text to a multiple of n, but I don't know why you are doing that.

Where are convert_to_num and convert_to_text?
Reply


Messages In This Thread
RE: Can anyone spot why this function is returning an empty list? - by deanhystad - Nov-18-2020, 06:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why does this function print empty list? hhydration 1 1,543 Oct-28-2020, 02:03 AM
Last Post: deanhystad
  [supernoob] Can't spot the error... sidon 2 2,124 Jul-12-2019, 12:19 PM
Last Post: sidon
  why is this not filling my empty list? Siylo 4 3,177 Jan-21-2019, 05:27 PM
Last Post: Siylo
  help returning a list lga13 1 2,063 Dec-01-2018, 10:18 PM
Last Post: Larz60+
  Why is this function returning none? wlsa 2 5,812 Sep-30-2018, 01:36 PM
Last Post: gruntfutuk
  Issues with Inserting Values into an Empty List with a While Loop TommyMer 2 3,780 Sep-12-2018, 12:43 AM
Last Post: TommyMer
  why is the append function gets empty on the loop?/python rhai 3 3,240 Jul-07-2018, 12:19 PM
Last Post: rhai
  Function not returning correct value TsG009 4 4,144 Nov-24-2017, 09:07 PM
Last Post: sparkz_alot
  Function for returning absolute numbers Ernstblack 2 3,198 Oct-02-2017, 05:48 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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