CBSE Class 11 Computer Science Question 122 of 173

Data Handling — Question 11

Back to all questions
11
Question

Question 7

Make change in the expression for z of previous question so that the output produced is zero. You cannot change the operators and order of variables. (Hint. Use a function around a sub-expression)

Answer

x, y = 4, 8
z = int(x/y)*y 
print(z)
Answer