QuesAns Print Page – CSKC
Sign In

Search

siteicon
Q&A CBSE12A-2015-B01D #6342

Question:

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!'

Answer:

John
Garima
Seema
Weldone!