🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

print(sum(1,2,3)) 
A
Error
B
6
C
1
D
3
Explanation

The output is (A) Error because the sum() function expects an iterable (like a list or tuple) as its first argument. You passed separate numbers instead of an iterable.

Correct usage:

print(sum([1, 2, 3]))  # This would return 6

Correct Answer: A) Error

Latest Updates