Sail E0 Webinar
Question
What is the output of the given code?a="string"b="strings"if(a==b)    print ("a and b are same")else     print "Not same"end
Options:
A .  a and b are same
B .  Not same
C .  a==b
D .  None of the mentioned
Answer: Option B


a and b are not similar hence the else condition will get executed.
Output:
Not same



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers