Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use assert in python

    assert type(num) is int,"num must be an integer"
 
PREVIOUS NEXT
Tagged: #assert #python
ADD COMMENT
Topic
Name
2+3 =