<s> __author__ = '<STR_LIT>' <EOL> from thu_learn import * <EOL> def main ( ) : <EOL> login ( ) <EOL> semester = Semester ( ) <EOL> messages = [ ] <EOL> for course in semester . courses : <EOL> print ( course . name ) <EOL> for message in course . messages : <EOL> messages . append ( message ) <EOL> messages . sort ( key = lambda x : x . date , reverse = True ) <EOL> for m in messages : <EOL> print ( "<STR_LIT>" % ( m . title , m . date , m . details . replace ( "<STR_LIT>" , "<STR_LIT>" ) [ : <NUM_LIT:100> ] ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
