Consider below given code fragment. What will be their outputs if the inputs are entered
in the given order are i. ‘12345′ ii.‘ END’ iii. ‘end’? (3)
name= “ “
while name!=”end”:
name= input(“Enter name(‘end” to exit) :”)
if name == “end”:
pass
print(“Hello”, name)
else:
print (“Wasn’t it fun? “)
Select the correct answer from above options