daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def toStr(n,base):
  2.     convertString = "0123456789ABCDEF"
  3.     if n < base:
  4.        return convertString[n]
  5.     else:
  6.        return toStr(n//base,base) + convertString[n%base]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top