Hello
The question might be simple, but it has a trick.
*
*
*c code*
*scanf(%d, %d, m,n)*
The code can accept two nos separated by a space.
*Question*: What is the equivalent in python?
*Answer 1:*
*a, b = int(raw_input('no 1: ')), int(raw_input('no 2: '))*
*Shortcoming*: I need press
On Mon, Nov 7, 2011 at 5:11 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote:
On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar
asif.jama...@rezayat.netwrote:
So I'm trying to generate dynamic choices for django form. Here i'm usig
formset concept (CODE is mentioned below)
Suppose i
On Fri, Oct 21, 2011 at 6:12 AM, Saager Mhatre saager.mha...@gmail.com wrote:
[...]
While I'd usually suggest a list comprehension like...
[(criteria, level) for level in range(1, 4) for criteria in
criteria_list[:2]]
[...]
List comprehensions would indeed be the Pythonic way
to do it. The