<s> """<STR_LIT>""" <EOL> from runtime import * <EOL> def main ( ) : <EOL> a = list ( "<STR_LIT:abc>" ) <EOL> print a <EOL> assert ( a [ <NUM_LIT:0> ] == '<STR_LIT:a>' ) <EOL> assert ( a [ <NUM_LIT:1> ] == '<STR_LIT:b>' ) <EOL> assert ( a [ <NUM_LIT:2> ] == '<STR_LIT:c>' ) <EOL> print '<STR_LIT>' <EOL> b = [ '<STR_LIT:a>' ] <EOL> for chr in iter ( "<STR_LIT>" ) : <EOL> print chr <EOL> b . append ( chr ) <EOL> print b <EOL> print '<STR_LIT>' <EOL> print b <EOL> assert ( b [ <NUM_LIT:0> ] == '<STR_LIT:a>' ) <EOL> assert ( b [ <NUM_LIT:1> ] == '<STR_LIT:x>' ) <EOL> assert ( b [ <NUM_LIT:2> ] == '<STR_LIT:y>' ) <EOL> assert ( b [ <NUM_LIT:3> ] == '<STR_LIT:z>' ) <EOL> b = [ '<STR_LIT:a>' ] <EOL> mystr = "<STR_LIT>" <EOL> for char in iter ( mystr ) : <EOL> print char <EOL> b . append ( char ) <EOL> print b <EOL> print '<STR_LIT>' <EOL> print b <EOL> assert ( b [ <NUM_LIT:0> ] == '<STR_LIT:a>' ) <EOL> assert ( b [ <NUM_LIT:1> ] == '<STR_LIT:x>' ) <EOL> assert ( b [ <NUM_LIT:2> ] == '<STR_LIT:y>' ) <EOL> assert ( b [ <NUM_LIT:3> ] == '<STR_LIT:z>' ) <EOL> x = [ ] <EOL> y = [ <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> ] <EOL> for v in iter ( y ) : <EOL> x . append ( v ) <EOL> print v <EOL> print x <EOL> print '<STR_LIT>' <EOL> print x <EOL> main ( ) </s>
