Q. What is the output of print(‘Hello’, end=’-‘) print(‘World’)?
Solution:
end=’-‘ sets the end character, outputting ‘Hello-World’ on the same line.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
end=’-‘ sets the end character, outputting ‘Hello-World’ on the same line.
Strengthen Your Practice with our comprehensive question bank.