-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimplequizbot.py
49 lines (47 loc) · 1.49 KB
/
simplequizbot.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
score = 0
print("Welcome to this multiple answer customizable quiz!")
# The first question will be below
print("Put question 1 here")
answer = input()
answer = str(answer)
if answer == "Correct Answer here":
print("Correct!") # You can change this reponse
score = score + 1
else:
print("That's wrong, you failed") # You can change this reponse
score = score - 1
# second question
print("Put question 2 here")
answer = input()
answer = str(answer)
if answer == "Correct Answer here":
print("Correct!") # You can change this reponse
score = score + 1
else:
print("That's wrong, you failed") # You can change this reponse
score = score - 1
# third question
print("Put question 2 here")
answer = input()
answer = str(answer)
if answer == "Correct Answer here":
print("Correct!") # You can change this reponse
score = score + 1
else:
print("That's wrong, you failed") # You can change this reponse
score = score - 1
# fourth question
print("Put question 2 here")
answer = input()
answer = str(answer)
if answer == "Correct Answer here":
print("Correct!") # You can change this reponse
score = score + 1
else:
print("That's wrong, you failed") # You can change this reponse
score = score - 1
# Paste any other questions before this line
# We will now tell the user there results on this quiz
# Here we go:
# I completely forgot what to do - I've got it on a sheet for my test somewhere
# I'll get it updated asap