Vidyalelo
Python · Q51

MCQs for Python Data Types and Numeric Types Chapter

Programming · Python · question 51

Q51

Select all options that print. hello-how-are-you

A.
print('hello', 'how', 'are', 'you')
B.
print('hello', 'how', 'are', 'you' + '-' * 4)
C.
print('hello-' + 'how-are-you')
Answer
D.
print('hello' + '-' + 'how' + '-' + 'are' + 'you')

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board