Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Example 1: How isidentifier() works?

str = 'Python'
print(str.isidentifier())

str = 'Py thon'
print(str.isidentifier())

str = '22Python'
print(str.isidentifier())

str = ''
print(str.isidentifier())
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #Example #How
ADD COMMENT
Topic
Name
4+9 =