Python Keywords

Keywords are the reserved words in Python.

There are 33 keywords in Python 3.3. This number can vary slightly in course of time.


  1. and 
  2. or
  3. not
  4. True
  5. False
  6. None
  7. if
  8. elif
  9. else 
  10. try
  11. except
  12. raise
  13. finally
  14. for
  15. while
  16. in
  17. is
  18. from
  19. import
  20. as
  21. def
  22. class
  23. global
  24. nonlocal
  25. return
  26. break
  27. continue
  28. lambda
  29. del
  30. with
  31. yield
  32. assert
  33. pass


0 comments:

Copyright © 2013 SoftKul