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

निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।

Find the output of following Python Programs.

a= “Meetmeatafterparty”
b= 13
print a+b
A)
B)
C)
D)

Explanation:
The correct answer is (C) error in code.
In the given Python program, there are two issues:
  1. The variable a is assigned a string value “Meetmeatafterparty”, but it is not enclosed in quotes. This will result in a syntax error.
  2. The variable b is assigned an integer value 13.
The print statement print a + b attempts to concatenate the string value of a with the integer value of b, which is not allowed in Python. This will result in a TypeError.
Therefore, the program will not execute correctly, and the output will be an error in the code.
Latest Updates