'accept'['orange']}{'question'"who is the president if the vice president dies?"'answer'"the current president "'accept'['president''current''already']}{'question'" doctor gives you three pills with instructions to take one every half-hour how long will the pills last?"'answer'"one hour "'accept'[' ''one']}{'question'"where is there an ocean with no water?"'answer'"on map "'accept'['map']}{'question'"what is the size of rhino but weighs nothing?"'answer'" rhino' shadow "'accept'['shadow']}{'question'"the clerk at butcher shop is exactly centimeters tall what do they weigh?"'answer'"the clerk weighs meat "'accept'['meat']} correct_text ['correct!''that is right '"you're right " 'you got it ''righto!' incorrect_text ['incorrect!'"nopethat isn' it "'nope ' 'not quite ''you missed it ' print('''trick questionsby al sweigart al@inventwithpython com can you figure out the answers to these trick questions (enter quit to quit at any time ''' input('press enter to begin ' random shuffle(questions score for questionnumberqa in enumerate(questions)main program loop print('\ "clearthe screen print('question:'questionnumber print('score:'score'/'len(questions) print('question:'qa['question'] response input(answer'lower( if response ='quit' print('thanks for playing!' sys exit( correct false for acceptanceword in qa['accept'] if acceptanceword in response correct true if correct text random choice(correct_text print(textqa['answer'] score + trick questions