Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/local/bin/python env Python 2.7
- #importing module csv
- import csv
- #creating function to get questions
- def get_questions():
- questions = []
- with open("questions.csv", mode="r", encoding="utf-8") as my_file:
- reader = csv.reader(my_file)
- for row in reader:
- questions.append(row)
- return questions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement