1628/what-are-and-and-or-operators-in-python
AND - True if both the operands are true
OR - True if either of the operands are true
Consider the example below:
a = 58 # 111010 b = 13 # 1101 c = a & b print ( c ) # 8 = 1000 c = a | b print ( c ) # 63 = 111111
There are certain rules that we have ...READ MORE
down voteaccepted ++ is not an operator. It is ...READ MORE
There are 4 types of dictionary Empty Integer Mixed Dictionary with ...READ MORE
When you want to increment or decrement, ...READ MORE
can you show some operations using bitwise ...READ MORE
how do i use it in a ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
A module is a file containing a ...READ MORE
Python is develop by Guido Van Rossum ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.