shadoks.py

Created by nicolas-patrois

Created on February 17, 2019

136 Bytes

Count like a Shadok.


def shadok(n):
  s=""
  while n:
    n,r=divmod(n,4)
    s=["GA","BU","ZO","MEU"][r]+s
  if s:
    return s
  return "GA"