QuesAns Print Page – CSKC
Sign In

Search

siteicon
Q&A CBSE12D-2015-B01D #6511

Question:

Find and write the output of the following python code :

for Name in ['Jayes', 'Ramya', 'Taruna','Suraj']:
    print Name
    if Name[0]== 'T':
        break
    else :
        print 'Finished!'
    print 'Got it!'

Answer:

Jayes
Ramya
Taruna
Got it!