تکمیل کے تقاضے
This book resource provides information about variable definition, types, rules to create variables, assign values etc.
Note : This is mandatory to complete. After completion, you can manually mark the activity as completed
3. Keywords in Python
It turns out that class is one of the Python keywords. Keywords define the language’s syntax rules and structure, and they cannot be used as variable names. Python has thirty-something keywords (and every now and again improvements to Python introduce or eliminate one or two):
|
and |
as |
assert |
break |
class |
continue |
|
def |
del |
elif |
else |
except |
exec |
|
finally |
for |
from |
global |
if |
import |
|
in |
is |
lambda |
nonlocal |
not |
or |
|
pass |
raise |
return |
try |
while |
with |
|
yield |
True |
False |
None |
"Variable Names and Keywords" by Dan Schellenberg is licensed under CC BY-SA 4.0