Computer Science
What will following code print?
a = va = 3
b = va = 3
print (a, b)
Related Questions
Following Python code has an expression with all integer values. Why is the result in floating point form?
a, b, c = 2, 3, 6 d = a + b * c/b print(d)
What will be output produced by following code? State reason for this output.
a, b, c = 1, 1, 2 d = a + b e = 1.0 f = 1.0 g = 2.0 h = e + f print(c == d) print(c is d) print(g == h) print(g is h)
What will following code print?
a = 3 b = 3.0 print (a == b) print (a is b)
What will be the output, if input for both the statements is 5 + 4/2.
6 == input ("Value 1:")
6 == int(input ("value 2:"))