MCQs > IT & Programming > Symbian Platform Python > Output of the following code snippet?
Line 1:import appuifw
Line 2:pwd = u'secret'
Line 3:info = appuifw.multi_query(u'Username:', u'Password:')
Line 4:if info:
Line 5:    login_id, login_pwd = info
Line 6:    if login_pwd == pwd:
Line 7:        appuifw.note(u'Login successful', 'conf')
Line 8:    else:
Line 9:        appuifw.note(u'Wrong password', 'error')
Line 10:else:
Line 11:    appuifw.note(u'Cancelled')

Symbian Platform Python MCQs

What will be the output of the following code snippet?
Line 1:import appuifw
Line 2:pwd = u"secret"
Line 3:info = appuifw.multi_query(u"Username:", u"Password:")
Line 4:if info:
Line 5:    login_id, login_pwd = info
Line 6:    if login_pwd == pwd:
Line 7:        appuifw.note(u"Login successful", "conf")
Line 8:    else:
Line 9:        appuifw.note(u"Wrong password", "error")
Line 10:else:
Line 11:    appuifw.note(u"Cancelled")

Answer

Correct Answer:

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Symbian Platform Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Symbian Platform Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it