What is the output of print("Hi" * 3) in Python?
पायथन में print("Hi" * 3) का आउटपुट क्या होगा?
Solution Breakdown:
-> In Python, multiplying a string by an integer repeats the string that many times ("Hi" * 3 produces "HiHiHi").
-> Hence, Option (D) is the correct answer.
-> पायथन में किसी स्ट्रिंग को पूर्णांक से गुणा करने पर वह स्ट्रिंग उतनी ही बार दोहराई जाती है।
-> इसलिए विकल्प (D) बिल्कुल सही है।