Computer Science, asked by Anonymous, 9 months ago

Write the output of the following Python code

a = 6
b = 7
c = 42
print 1, a = = 6
print 2, a = = 7
print 3, a = = 6 and b = = 7
print 4, a = = 7 and b = = 7
print 5, not a = = 7 and b = = 7
print 6,a==7orb==7
print 7, a==7orb==6
print 8, not (a = = 7 and b = = 6)
print 9, not a = = 7 and b = = 6​

Answers

Answered by ASRARAHMADMIR
7

print 6 and print 7 are valid syntax. So the output is 7.

Please Mark as Brainilest.

Answered by ıtʑFᴇᴇʟɓᴇãᴛ
6

b = 7

c = 42

print 1, a = = 6

print 2, a = = 7

print 3, a = = 6 and b = = 7

print 4, a = = 7 and b = = 7

print 5, not a = = 7 and b = = 7

print 6,a==7orb==7

print 7, a==7orb==6

print 8, not (a = = 7 and b = = 6)

print 9, not a = = 7 and b = = 6

Similar questions