DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to stop a function from returning none
def test(): a = 4 b = 5 c = 10 result = a + b + c print("Result is", result) test()
Source by maschituts.com #
PREVIOUS
NEXT
Tagged:
#stop
#function
#returning
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit