Make an actual form in your console with Python!

Hey! I recently posted about my repl "Form in Console" and said it could be used to make forms in your console. Technically, it wasn't a form being outputted by the program, so I took its code and made this version which is actually a form! Hope it's useful!

NOTES: In the qs list, each element is a list consisting of three values. They are, the question itself as a str, the number of underscores to be displayed while asking the questions as an int, and the type the answer should be converted to as a type. This information should help while trying to use this code in your own program.

You are viewing a single comment. View All

@pyzard edited version :D