Advertisements
Advertisements
प्रश्न
Identify the statement from the following which will raise an error:
पर्याय
print("A"*3)
print(5*3)
print("15" + 3)
print("15" + "13")
MCQ
उत्तर
print("15" + 3)
Explanation:
A type error will occur with the following statement: print("15" + 3), where "15" is a string and "3" is an integer.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?