Python Forum
name these two functions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
name these two functions
#1
i wrote a function that converts an int to a string of digits. it has options to set the base, set the minimum width, set the digits to use (implies the maximum base by its length), and to set an alternate string to return if the converted number needs more digits than the specified width (else it returns a longer string with the converted digits).

i also wrote a function to convert the digits to an int. this function has a base= option.

i would like to name these functions with the same length and a pattern that has a difference describing the difference between them. the names i initially gave them are "tilbase" and "frabase", where "til" == "to" and "fra" == "from".
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
name these two functions - by Skaperen - Oct-17-2018, 07:25 PM
RE: name these two functions - by Gribouillis - Oct-17-2018, 07:41 PM
RE: name these two functions - by Skaperen - Oct-17-2018, 11:26 PM
RE: name these two functions - by Skaperen - Oct-19-2018, 05:50 AM

Forum Jump:

User Panel Messages

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