<jupyter_start><jupyter_text>Python Keywords Keywords are the reserved words in pythonWe can't use a keyword as variable name, function name or any other identifierKeywords are case sentive<jupyter_code>#Get all keywords in python 3.6

import keyword

print(keyword.kwlist)

print("Total number of keywords ", len(keyword.kwlist))<jupyter_output>['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'not', 'or', 'pass', 'print', 'raise', 'return', 'try', 'while', 'with', 'yield']
('Total number of keywords ', 31)<jupyter_text>Identifiers Identifier is the name given to entities like class, functions, variables etc. in Python. It helps differentiating one entity from another. 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.12962962962962962, 'fraction_numerical': 0.01037037037037037, 'mean_word_length': 5.688118811881188, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '155598', 'license': 'CC0-1.0', 'n_tokens_mistral': 417, 'n_tokens_neox': 399, 'n_words': 166, 'path': '1_Keyword and Identifiers/1_keywords_identifiers.ipynb', 'repo_name': 'vivekkpatil7/Go-With-Python', 'size': '1350'}