import random
def questions():
score = 0
# --- Q1 ---
month = eval(input('In which month of 2022 is the World cup starting?'))
if month == 11:
score += 1
print('Correct!')
else:
print('Incorrect!')
# --- Q2 ---
choice1 = (input('Who is the basketball god?\nA. Wilson\nB. Ni JiaChen\nC. Grass Fish\nD. Fish\nE. Micheal Jordan'))
if choice1 == 'E' or choice1 == 'e':
print('Incorrect! The correct answer is A or B or C or D.')
else:
score += 1
print('Correct')
# --- Q3 ---
choice2 = (input('Which of the following is a nickname of Jack Xi(奚豪君)?\nA. 肘子\nB. 鲸鱼\nC. 六中哈\nD. 奚比\nE. 科比'))
if choice2 == 'D' or choice2 == 'd':
score += 1
print('Correct!')
else:
print('Incorrect! The correct answer is D.')
# --- Q4 ---
choice3 = (input('Which of the following is the basketball move Jack Xi(奚豪君) is known for?\nA. 雷霆尬拔\nB. 小抛投\nC. 护球肘\nD. 铁山靠\nE. 闪电五连鞭'))
if choice3 == 'C' or choice3 == 'c':
score += 1
print('Correct!')
else:
print('Incorrect! The correct answer is C.')
# --- Q5 ---
name = (input('Which teacher is SCLS is a fan of marathon?'))
if 'pan' in name or 'Pan' in name or '潘' in name or 'saijie' in name or 'Saijie' in name or '赛杰' in name:
score += 1
print('Correct!')
else:
print('Incorrect! The correct answer is Saijie.')
finalScore = score / 5
scoreStr = str(finalScore * 100)
#print(finalScore, scoreStr)
print('Congratulations, you got ' + str(score) + ' answers right.')
print('That is a score of ' + scoreStr +' percent.')
print('--------------------- Quiz ---------------------')
questions()