Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def QuestionGenerator():
- questionlist_file = open('StudentNames&Questions.csv')
- reader = csv.reader(questionlist_file)
- rownum=0
- array=[]
- for row in reader:
- array.append(row)
- rownum=rownum+1
- i = random.randint(0,3)
- question = array[0,1]
- return question
Add Comment
Please, Sign In to add comment