**************************************************
Python Core PlayList : • Lesson - 01 : Python3 - What is python
Python Advanced PlayList : • Lesson - 46 : Python Advanced - Pytho...
**************************************************
Python Keywords:
Keywords are the reserved words in Python. We cannot use a keyword as variable name, function name or any other identifier.
Here's a list of all keywords in Python Programming
1. None : None is a special constant in Python that represents the absence of a value or a null value.
2. and, or , not : and, or, not are the logical operators in Python. and will result into True only if both the operands are True.
3. As : as is used to create an alias while importing a module. It means giving a different name (user-defined) to a module while importing it.
4. Assert : assert is used for debugging purposes.
5. break, continue : break and continue are used inside for and while loops to alter their normal behavior.
6. Class : class is used to define a new user-defined class in Python.
7. Def : def is used to define a user-defined function.
8. Del : del is used to delete the reference to an object. Everything is object in Python. We can delete a variable reference using del
9. if, else, elif : if, else, elif are used for conditional branching or decision making.
10. except, raise, try : except, raise, try are used with exceptions in Python.
11. Finally : finally is used with try…except block to close up resources or file streams.
12. For : for is used for looping. Generally we use for when we know the number of times we want to loop.
13. from, import : import keyword is used to import modules into the current namespace. from…import is used to import specific attributes or functions into the current namespace.
14. Global : global is used to declare that a variable inside the function is global (outside the function).
Sample Projects : https://github.com/SadaLearningHub1/P...
Auf dieser Seite können Sie das Online-Video Lesson - 08 : Python3 - Python Keywords mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Sada Learning Hub 06 Dezember 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 58 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!