Python Forum
Help with input on make a questionforms
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with input on make a questionforms
#2
Forget about the spreadsheet for now. Start with making a form (window) that displays a single question with options to choose from and a submit button. When the submit button is pressed, print the question and selected option.

Next, modify your code to be reusable code, a function or method, that takes arguments for the question and options. Modify your code to display multiple questions, either sequentially or all at the same time, calling the function multiple times. When the submit button is pressed, print all the questions and the selected options.

Modify your code to be a form where you pass an iterable that contains the questions and options. Write a main window that displays the form with several questions. When the submit button is pressed, update the main window to display the results. You might want to make the form a dialog window so the main window waits for the form to be submitted.

When you have that all working you can modify your main code to get the questions from a spreadsheet.
Reply


Messages In This Thread
RE: Help with input on make a questionforms - by deanhystad - Mar-07-2024, 10:18 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020