B01D-2015 – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Exam Questions-CBSE12A-2015-B01D #PYTHON#6342    siteicon   siteicon  

Problem Statement - B01D-2015

Find and write the output of the following python code :

for Name in ['John','Garima','Seema','Karan']:
    print Name
    if Name[0]== 'S':
        break
else :
    print 'Completed!'
print 'Weldone!'

Solution

TC++ #6342

John
Garima
Seema
Weldone!


Share

CSKC| Created: 11-Jan-2019 | Updated: 11-Jan-2019|CBSE12A-2015









Back