Answers for "isidentifier method in python"

0

isidentifier method in python

#Python's isidentifier() method is used to check whether a string is a valid
#identifier or not.
print('hello'.isidentifier()) #True
print('Py thon'.isidentifier()) #False
print('22Python'.isidentifier()) #False
Posted by: Guest on September-26-2020

Python Answers by Framework

Browse Popular Code Answers by Language