Examveda
Examveda

The following is displayed by a print function call. Select all of the function calls that result in this output.
tom
dick
harry

A.

print('''tom
\ndick
\nharry''')

B. print(”’tomdickharry”’)

C. print(‘tom\ndick\nharry’)

D.

print('tom
dick
harry')

Answer: Option C


This Question Belongs to Python Program >> Data Types And Numeric Types

Join The Discussion

Related Questions on Data Types and Numeric Types