Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python ->

def func(x): -> int
  return x

# it annotates the return type of the function.
# Doesn't force the return type.
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
7+3 =