DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python def
a
=
34
b
=
78
def
total
(
)
:
print
(
"The total of a+b is:"
,
a
+
b
)
#how to print def function
total
(
)
PREVIOUS
NEXT
Tagged:
#python
#def
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit