From fe7204aac4d7d2dc266a0db939a75d6ed3653b6d Mon Sep 17 00:00:00 2001 From: Ayush kumar jha Date: Wed, 31 Jan 2024 14:43:48 +0530 Subject: [PATCH] Update 00-variables.md Added keyword --- .../020-basic-data-types/00-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/02-introduction-to-python/020-basic-data-types/00-variables.md b/website/content/02-introduction-to-python/020-basic-data-types/00-variables.md index 8f33146..65e9dda 100644 --- a/website/content/02-introduction-to-python/020-basic-data-types/00-variables.md +++ b/website/content/02-introduction-to-python/020-basic-data-types/00-variables.md @@ -72,7 +72,7 @@ Learn more about great naming practices for dynamic types by watching this 30-mi #### Naming Gotchas -There are some things that you can't name your variables, such as `and`, `if`, `True`, or `False`. That's because Python uses these names for program control structure. +In Python, certain words are called keywords because they are reserved for specific purposes and have predefined meanings in the language. These keywords cannot be used as variable names because they are essential for defining the structure and logic of Python code, That's because Python uses these names for program control structure. You can't start your variable name with a digit, although your variable name can end in a digit. Your variable name can't contain special characters, such as `!`, `@`, `#`, `$`, `%` and more.