This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import random | |
import console | |
def get_answers(filename) : | |
'''read and parse the answer file''' | |
ret = [] | |
filehandle = open(filename,'r') | |
for line in filehandle.readlines() : | |
if line.strip().startswith('#') : |