Q. What is the effect of print(‘test’, flush=True)?
Solution:
flush=True forces the output to be written immediately, avoiding buffering.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
flush=True forces the output to be written immediately, avoiding buffering.
Strengthen Your Practice with our comprehensive question bank.