Total Keywords in Python (36)

S.No Keyword Description
1 False Boolean value False
2 None Represents the absence of a value
3 True Boolean value True
4 and Logical AND operator
5 as Alias while importing module
6 assert Used for debugging
7 async Defines asynchronous function
8 await Waits for asynchronous result
9 break Exits the loop
10 class Defines a class
11 continue Skips current loop iteration
12 def Defines a function
13 del Deletes a variable/item
14 elif Else if condition
15 else Else block in condition
16 except Handles exception
17 finally Block executed after try
18 for For loop
19 from Import specific part of module
20 global Declares global variable
21 if Conditional statement
22 import Import module
23 in Membership test
24 is Identity test
25 lambda Creates anonymous function
26 nonlocal Refers to outer function variable
27 not Logical NOT operator
28 or Logical OR operator
29 pass Null statement / Placeholder
30 raise Raises an exception
31 return Returns a value from a function
32 try Starts try block
33 while While loop
34 with Context management
35 yield Used in generators
36 match Pattern matching (added in Python 3.10)

Summary:

  • There are 36 keywords in Python 3.11.
  • They have predefined meanings and form the core of Python syntax.
  • They cannot be used as identifiers such as variable or function names.

Welcome to ShikshaSanchar!

ShikshaSanchar is a simple and helpful learning platform made for students who feel stressed by exams, assignments, or confusing topics. Here, you can study with clarity and confidence.

Here, learning is made simple. Notes are written in easy English, filled with clear theory, code examples, outputs, and real-life explanations — designed especially for students like you who want to understand, not just memorize.

Whether you’re from school, college, or someone learning out of curiosity — this site is for you. We’re here to help you in your exams, daily studies, and even to build a strong base for your future.

Each note on this platform is carefully prepared to suit all levels — beginner to advanced. You’ll find topics explained step by step, just like a good teacher would do in class. And the best part? You can study at your pace, anytime, anywhere.

Happy Learning! – Team ShikshaSanchar