Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python typing

# variable : type = value
a : int = 1
def f(x : int | float ) -> None:
  print(x+1)
 
PREVIOUS NEXT
Tagged: #python #typing
ADD COMMENT
Topic
Name
2+7 =