Search
 
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
Name
7+8 =