Jump to content

Find palindromic numbers in both binary and ternary bases: Difference between revisions

m
m (→‎Functional Python: (tidied top level))
Line 1,675:
 
 
# TEST -----------------------------------------------------------
def main():
'''Integers with palindromic digits in both binary and ternary'''
Line 1,768:
# label :: Method String -> (String, Int)
def label(k):
'''StringifictionStringification, using the named justification
method (ljust|centre|rjust) of the label,
and the specified amount of white space.
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.