1 2 3 4 5 6 7 | def factorial(n): product = 1 for i in range(n): product = product*(i+1) return product print factorial(3) |
ZGVmIGZhY3RvcmlhbChuKToKCXByb2R1Y3QgPSAxCglmb3IgaSBpbiByYW5nZShuKToKCQlwcm9kdWN0ID0gcHJvZHVjdCooaSsxKQoJcmV0dXJuIHByb2R1Y3QKCnByaW50IGZhY3RvcmlhbCgzKQ==
-
upload with new input
-
result: Success time: 0.03s memory: 6356 kB returned value: 0
6



