<jupyter_start><jupyter_text>Python Keywords Keywords are the reserved words in python.We cannot use a keyword as variable name, function name or any other identifier.Keywords are case sensitive.<jupyter_code>#Get all keywords in python 3.6

import keyword

#print(keyword.kwlist)
"Total number of keywords ", keyword.kwlist<jupyter_output><empty_output><jupyter_text>Identifiers Identifier is the name given to entities like class, functions, variables etc. in Python. It helps differentiating one entity from another entity. Rules for Writing Identifiers:1. Identifiers can be a combination of letters in lowercase(a to z) or uppercase(A to Z) or digits(0 to 9) or an underscore(_).2. An identifier cannot start with a digit. 1variable is invalid, but variable1 is perfectly fine.3. Keywords cannot be used as identifiers.<jupyter_code>global = 1<jupyter_output><empty_output><jupyter_text>We cannot use special symbols like !, @, , $, % etc. in our identifier.<jupyter_code>a@ = 10             #can't use special symbols as an identifier<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07196261682242991, 'fraction_numerical': 0.011214953271028037, 'mean_word_length': 5.490909090909091, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '360594', 'license': 'MIT', 'n_tokens_mistral': 310, 'n_tokens_neox': 297, 'n_words': 129, 'path': 'Keywords and Identifiers/Keywords and Identifiers.ipynb', 'repo_name': 'amitravikumar/Applied-AI-notes', 'size': '1070'}