def verify(request): if request.method == \'POST\': j=int(request.POST[\'code\']) # i got j from the user attemp