Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

typage in python

# for a string named str1
str1: str = "this is a string"
#for an int named toto
toto: int
#and it works for every types (str, int, floats, dict...)
 
PREVIOUS NEXT
Tagged: #typage #python
ADD COMMENT
Topic
Name
5+8 =