a = 60 # 60 = 0011 1100
b = 13 # 13 = 0000 1101
c = 0
c = a & b; # 12 = 0000 1100
print “Line 1 – Value of c is “, c
c = a | b; # 61 = 0011 1101
Answers
Answered by
1
Answer:
Following example to understand all the comparison operators available in Python programming language:
# !/usr/bin/python
a = 21
b = 10
c = 0
if (a = = b ):
hope it helps you />
tex
Answered by
1
Answer:
Following example to understand all the comparison operators available in Python programming language:
# !/usr/bin/python
a = 21
b = 10
c = 0
if (a = = b ):
hope it helps you />
tex
Similar questions
Chemistry,
5 months ago
Political Science,
5 months ago
Math,
5 months ago
Math,
10 months ago
Computer Science,
10 months ago
Math,
1 year ago