Tag Archives: Programming

บรรทัดเดียวก็พอ #1 factorial

def fact(x): return (1 if x<1 else x * fact(x-1))

Posted in Programming, Python | Also tagged 2 Comments