-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSports.py
19 lines (15 loc) · 894 Bytes
/
Sports.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import random
class sportquestions:
@staticmethod
def getsportqs(question):
listquestions={"What is your favourite sport?": "Football",
"What team do you think is the best?": "Obviously Chelsea",
"What league is the best league in the world?": "The Premier League is the best in the world",
"What do you know about basketball?": "I know that Lebron James is the best player in the world",
"Which sport is popular in Canada?": "Hockey and to be honest, it is quite fascinating",
"What is your favourite basketball team?": "The Warriors! Like Stephen A. Smith says, they have the best shooter ever!",
"Are you a sports fan?": "Harvie is a fan of everything, especially sports!"
}
listquestionslower = {k.lower():v for k,v in listquestions.items()}
resp = listquestionslower[question]
return resp