Q. What is the output of print(‘A’, ‘B’, ‘C’, sep=’*’)?

A
A B C
B
A*B*C
C
A, B, C
D
Error
Solution:

sep=’*’ separates items with an asterisk, outputting ‘A*B*C’.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!