
1. a = 1
2. b = 0
3. c = a & b
4. d = a | b
5. e = a ^ b
6. print(c + d + e)

1. s = 'python'
2. for i in range(len(s)):
3. i = s[i].upper()
4. print(s, end='')
1. class Tin:
2. label = "Soup"
3.
4. def __init__(self, prefix):
5. self.name = prefix + " " + Tin.label
6.
7.
8. can_1 = Tin("Tomato")
9. can_2 = Tin("Chicken")
10. print(can_1.label == can_2.label)
© Copyrights DumpsEngine 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsEngine.
