Your numerical values might be considered strings for that comparison.
Try:
if int(p) > 2:
...
On Jan 16, 11:05 pm, zhyr28 wrote:
> Hi all, I want to develop a survey app that has ten radio selects.
> After people submit the survey, the data will be processing and then
> output the result. I met
Hi all, I want to develop a survey app that has ten radio selects.
After people submit the survey, the data will be processing and then
output the result. I met a problem when I was trying to process the
data from the form. Here is the code:
forms.py: contains the survey questions.
QUESTION_ONE= (
2 matches
Mail list logo