โกวิโท

Tag: Programming

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

by Kowit on ก.ค..08, 2009, under Programming, Python

def fact(x): return (1 if x<1 else x * fact(x-1))
2 Comments :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!