Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: Python  |  size: 0.13 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. def get_num(this_byte):
  2.   if this_byte < 128
  3.     return this_byte
  4.   else
  5.     return (get_num(next_byte) * 128) + (this_byte - 128)