C-17-Q106mediumsingle_mcq
To keep the printed digits on the same line in Python, the print call uses the parameter:
To keep the printed digits on the same line in Python, the print call uses the parameter:
- a
sep - b
end - c
flush - d
file
ব্যাখ্যা
Passing end to print() replaces the default newline, so the digits stay on one line; for example print(j, end=" ") keeps output on the same row.