Identifier
Identifier is a name used to identify a variable, function, class, module, etc. The identifier is a combination of character digits and underscore. The identifier should start with a character or Unde
·
1 min read
and | This is a logical operator it returns true if both the operands are true else return false. |
Or | This is also a logical operator it returns true if anyone operand is true else return false. |
not | This is again a logical operator it returns True if the operand is false else return false. |
if | This is used to make a conditional statement. |
elif | Elif is a condition statement used with an if statement the elif statement is executed if the previous conditions were not true |
else | Else is used with if and elif conditional statement the else block is executed if the given condition is not true. |
for | This is created for a loop. |
while | This keyword is used to create a while loop. |
break | This is used to terminate the loop. |
as | This is used to create an alternative. |
def | It helps us to define functions. |
lambda | It is used to define the anonymous function. |
pass |
Satyendra Kumar
Today i learn intro
No comments yet. Login to start a new discussion Start a new discussion