str.isidentifier()
Return true if the string is a valid identifier according to the language definition, section Identifiers and keywords.
Use keyword.iskeyword() to test for reserved identifiers such as def and class.
str.isidentifier()
Return true if the string is a valid identifier according to the language definition, section Identifiers and keywords.
Use keyword.iskeyword() to test for reserved identifiers such as def and class.
Please login to continue.