currently my loops stops at replacing 1 with the answer. how do i loop it so it replaces all 4 blanks with the 4 answers?
easyQuiz = "There are ___1___ countries in the world. The countries with the biggest landmass is ___2___. The coldest continent in the world is ___3___. ___4___ is the capital of China"
blanks = ["___1___","___2___","___3___","___4___"]
easyAnswer = ["195","Russia","Antartica","Beijing"]
#asks users to choose difficulty level
question = raw_input("Shall we start? Easy, Medium, Hard?")
if question == "Easy" or question == "easy":
answerChoice = easyAnswer
answerChoice = answerList(question)
newprompt = []
newlist = []
index = 0
maxblanks = 3
for quizwords in difficulty(question).split():
if quizwords == "1" :
quizwords = quizwords.replace("1",answerChoice[index])
elif quizwords == "2" :
quizwords = quizwords.replace("2",answerChoice[index])
index = index + 1
newlist.append(quizwords)
joinedlist = " ".join(newlist)