With the def statement : Def : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » Def »

 

With the def statement


def hello(name)
    return 'Hello, ' + name + '!' 

print hello('world')
print hello('Gumby')



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» Def