landing-frontend
landing-frontend copied to clipboard
Use a better example in the "Try coala" section
Maybe we could use a real program from the real world. This way, we can showcase the concept of neatly returning multiple results.
Maybe like this -
import sys
def Factorial( n ): # return factorial
result = 1
for i in range (1, n):
result = result * i
print ("factorial is ", result)
return result
print ( Factorial( 10 ))
Is this issue still need to be solved then i would like to be assigned?
@li-boxuan we can have any meaningful python code to show as an example isn't it?