๐Ÿ“Š Python
Q. The following is displayed by a print function call. Select all of the function calls that result in this output.
Code:
tom
dick
harry
  • (A) print('''tom \ndick \nharry''')
  • (B) print(”’tomdickharry”’)
  • (C) print(‘tom\ndick\nharry’)
  • (D) print('tom dick harry')
๐Ÿ’ฌ Discuss
โœ… Correct Answer: (C) print(‘tom\ndick\nharry’)

You must be Logged in to update hint/solution

๐Ÿ’ฌ Discussion


๐Ÿ“Š Question Analytics

๐Ÿ‘๏ธ
286
Total Visits
๐Ÿ“ฝ๏ธ
4 y ago
Published
๐ŸŽ–๏ธ
Kirti
Publisher
๐Ÿ“ˆ
98%
Success Rate