Q. What is the output produced by the following code?
x = 1
if x > 3 :
if x > 4 :
print ("A", end = ' ')
else :
print ("B", end = ' ')
elif x < 2:
if (x != 0) :
print ("C", end = ' ')
print ("D")
Answer :-
Output is:-
C D
>>>
>>>
x = 1
if x > 3 :
if x > 4 :
print ("A", end = ' ')
else :
print ("B", end = ' ')
elif x < 2:
if (x != 0) :
print ("C", end = ' ')
print ("D")
Answer :-
Output is:-
Thank you so much 🥰....
ReplyDeleteWelcome : )
DeleteB wont come?!
ReplyDeletePlease copy the code and paste it in your IDLE Python.
Deleted is mistake
ReplyDeletePlease run the code in your pc.
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )