from survey import AnonymousSurvey question = "what language did you first learn to speak?" my_survey = AnonymousSurvey(question) my_survey.show_results() print("enter 'q' to quit\n") while True: response = input("language:") if response == "q": break my_survey.store_response(response) print("\nthank you to everyone") my_survey.show_results()