【发布时间】:2018-01-20 01:24:09
【问题描述】:
我想建立一个由一些问题(
print("enter your name")
name=input()
print("how many teams you play for ?")
number_of_teams=int(input())
s=number_of_teams
print("you have to fill this form",s,"times")
//list of question in my survey
questions_list = ["Q1.A ?","Q2. B? ", "Q3. C?", "Q4. D?", "Q5. E ?", "Q6. F
?","Q7. G ? "]
//list of options for each of those questions
answers_list = [["A.1 ", " B.2 ", " C.3 "," D.4 "],
["A.1 ", " B.2 ", " C.3 "," D.4 "],
["A.1 ", " B.2 ", " C.3 "," D.4 "],
["A.1 ", " B.2 ", " C.3 "," D.4 "],
["A.1 ", " B.2 ", " C.3 "," D.4 "],
["A.1 ", " B.2 ", " C.3 "," D.4 "],
["A.1 ", " B.2 ", " C.3 "," D.4 "],]
i=0
while i<s:
print("enter your team name")
team=input()
for questions, answers in zip(questions_list, answers_list):
print(questions + '\n' + ''.join(answers)+'\n')
get_answer = input()
print('\n')
i=i+1
不能使用第三方库(因为数据共享问题)。
【问题讨论】: