discovered multiline strings
This commit is contained in:
parent
8368c858e8
commit
81fe349a23
|
@ -14,7 +14,12 @@ for quizNum in range(35):
|
||||||
quizFile = open("./quizes/"+quizName, 'w')
|
quizFile = open("./quizes/"+quizName, 'w')
|
||||||
|
|
||||||
#writing the header.
|
#writing the header.
|
||||||
quizFile.write("= US Captials Quiz\nName:\nDate:\n\n")
|
quizFile.write("""= US Captials Quiz
|
||||||
|
Name:
|
||||||
|
Date:
|
||||||
|
|
||||||
|
|
||||||
|
""")
|
||||||
|
|
||||||
#shuffle order of states
|
#shuffle order of states
|
||||||
states = list(capitals.keys())
|
states = list(capitals.keys())
|
||||||
|
|
Loading…
Reference in a new issue