Home
Python Tutorial
Introduction
Data Type
Statement
Operator
String
Tuple
List
Dictionary
Collections
Function
Class
File
Buildin Function
Buildin Module
Database
Regular Expressions
Thread
Tkinker
wxPython
XML
Network
CGI Web
Windows
Menu
With the def statement : def « Statement « Python Tutorial
Python Tutorial
Statement
def
def hello(name):
return
'Hello, '
+ name +
'!'
print hello(
'world'
) print hello(
'Gumby'
)
3.6.def
3.6.1.
With the def statement