I have several possible parameter to process in a page. Assume x0, x1, x2,..., x1000. It seems awkward to get and process them one by one by request.GET.get('x0'), request.GET.get('x1'), ...
Any idea to put them in a list, so that they can be processed in a loop.
Since,
request.GET
is a dictionary, you can access its values like this:Or if you want to put the values in a list: