Q. What is the output of print(‘A’, ‘B’, sep=’-‘, end=’!’) print(‘C’)?
Solution:
sep=’-‘ and end=’!’ produce ‘A-B!’, followed by ‘C’ on the same line.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
sep=’-‘ and end=’!’ produce ‘A-B!’, followed by ‘C’ on the same line.
Strengthen Your Practice with our comprehensive question bank.