print("\nthanks for playing!"def showresult(selfmsgscore)print("{ you win ${ format(msgscore)def choosedice(self)return eval(input("enter list of which to change ([to stop")using this interfacewe can test out our pokerapp program to see if we have implemented correct model here is complete program making use of the modules that we have developedtextpoker py -video dice poker using text-based interface from pokerapp import pokerapp from textpoker import textinterface inter textinterface(app pokerapp(interapp run(basicallyall this program does is create text-based interface and then build pokerapp using this interface and start it running instead of creating separate module for thiswe could also just add the necessary launching code at the end of our textpoker module when running this programwe get rough but usable interaction welcome to video poker do you wish to try your lucky you currently have $ dice[ enter list of which to change ([to stop[ , dice[ enter list of which to change ([to stop[ dice[ full house you win $ you currently have $ do you wish to try your lucky you currently have $ dice[ enter list of which to change ([to stop[ dice[ enter list of which to change ([to stop[full house you win $ you currently have $ do you wish to try your lucky