Difference between revisions of "CSC111 Final Exam 2015"
Line 216: | Line 216: | ||
<br /> | <br /> | ||
* Your program must match this output as closely as possible, including the "---Output---" line. Remember that your program will be tested with a collection of tweets that will be different, and probably gathered in a different time period, so your program must locate the oldest and newest tweets, and not simply output the dates shown above! | * Your program must match this output as closely as possible, including the "---Output---" line. Remember that your program will be tested with a collection of tweets that will be different, and probably gathered in a different time period, so your program must locate the oldest and newest tweets, and not simply output the dates shown above! | ||
+ | <br /> | ||
+ | ==Requirements== | ||
+ | <br /> | ||
+ | * Make sure your program contains a '''main()''' function, and that the execution starts with main, with this code, which should be the last 2 lines of your program: | ||
+ | <br /> | ||
+ | ::<source lang="python"> | ||
+ | if __name__=="__main__": | ||
+ | main() | ||
+ | </source> | ||
+ | <br /> | ||
<br /> | <br /> | ||
==Testing== | ==Testing== |