from PyInquirer import prompt widget = [ { 'type':'rawlist', 'name':'lang', 'message':'Choose your language :', 'choices':['Francais','English','Deutsch'] } ] result = prompt(widget) print('Your answer is') print(result["lang"])