C-17-Q137mediumsingle_mcq
In the multiplication-table program, the inner expression print(num, '*', i, '=', prod) produces output where the items are separated by:
In the multiplication-table program, the inner expression print(num, '*', i, '=', prod) produces output where the items are separated by:
- aDefault single spaces (Python's
printdefaultsep) - bTabs
- cNewlines
- dCommas
ব্যাখ্যা
print joins its arguments using its default separator, which is a single space (sep=' '). Since no sep is specified, the items appear separated by single spaces.