Python Keywords


  • Keywords are the special reserved words whose meaning has already been explained to the Python interpreter.

  • Each keyword have a special meaning and a specific operation.

  • Keywords cannot be used as identifiers (names) class,methods or variables etc.

Python Keywords :

Here is a list of keywords in the Java programming language.

andasassertbreakclass
continuedefdelelifelse
exceptexecfinallyforfrom
globalifimportinis
lambdanotorpassprint
raisereturntrywhilewith
yield

List of keywords may differ from version to version.

You can always get the list of keywords in your current version by typing the following in the prompt.

>>>import keyword
>>> print(keyword.kwlist)
['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']
>>> 

Next chapter is python variables





 



Training For College Campus

We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies like
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.

Please mail your requirement at info@prowessapps.in


Projects For Students

Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.

Students can mail requirement at info@prowessapps.in


CONTACT DETAILS

info@prowessapps.in
(8AM to 10PM):

+91-9026070669 , +91-9451396824

© 2016, prowessapps.in, All rights reserved