Driver program to test above
num = "8725634" NEW_LINE li = [ i for i in num ] NEW_LINE print " Largest ▁ number : ▁ " NEW_LINE li = largestNumber ( li ) NEW_LINE for i in li : NEW_LINE INDENT print i , NEW_LINE DEDENT print NEW_LINE