Date: December 4th, 2015
Time: 08:10-11:00
Open book and computer; turn off mobile phones
Your train departs at 09:18 and arrives at 10:01 ; travel time is 43
The previous train departs at 08:54 and arrives at 09:37 ; travel time is 43
The next train departs at 10:18 and arrives at 11:01 ; travel time is 43
import curses stdscr = curses.initscr() curses.start_color() s = "Pepsi Cola" for i in range(7): curses.init_pair(i, i, i+1) for i in range(7): stdscr.addstr( i, 10, s, curses.color_pair(i) ) stdscr.refresh() curses.endwin() |