Q21medium
You are writing a program to distribute 100 tasks among 3 workers. You want to know how many tasks will be left over after each worker gets an equal share. Which operator should you use?
Topic-wise practice questions for Problem Solving & Analytical Skills. Test your knowledge, check solutions on demand, and pace your preparation.
flag = True
x = 5
if (flag == True OR (x / 0 == 0)):
print("Success")
In a language with Short-Circuit Evaluation, what happens?