(b) x556F57203A29 (0.5 Mark)
(b) (A XOR B) AND C
c) 101 + 1011
a) 0111 - 1011
b) 0011 + 1001
d) 110 - 1101
What will be the output of the following code?
Python Code
a = 15
b = 20
a = a + b
b = a - b
a = a - b
print(a, b)
What will the following code print?
Python Code
lst = [4, 7, 12, 18, 5]
count = 0
for item in lst:
if item > 10:
count += 1
print(count)