Add tags

Add tags to the following comment
こうかな?
c=2が美しく無いけど。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
def goedel(n):
    result = 1
    c = 2
    for x in str(n):
        result *= c**int(x)
        c += 1
    return result

print goedel(9)
print goedel(81)
print goedel(230)

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...