C-16-Q135mediumsingle_mcq
In print('The sum of', num1, 'and', num2, 'is', result), the items separated by commas are printed:
In print('The sum of', num1, 'and', num2, 'is', result), the items separated by commas are printed:
- aon different lines
- bon the same line, separated by spaces
- conly the first item is printed
- das a list literal
ব্যাখ্যা
The print() function outputs all comma-separated arguments on one line, automatically inserting a single space between each item. This produces a readable sentence on the same line.