On Thu, Jan 2, 2014 at 3:57 AM, Liam Marsh <firstname.lastname@example.org> wrote:
> hello,here is my idea:
> input var name (str),
> outputs var value
This is underspecified. What should it do for this code?>thank you and have a nice day!
count = 3
print var('count', 1)
If the output is "1", then you're in luck and can already use
Otherwise, I don't know a trivial one-liner to do it. Either way I'd
be -1 on its inclusion in Python, it encourages a bad idiom.