[Tutor] Fwd: Re: (no subject)

Alan Gauld alan.gauld at yahoo.co.uk
Sun Nov 12 19:52:41 EST 2017


Forwarding to the list...



	

	
From: 	RRRoy BBBean <rrroybbbean at gmail.com>
Organisation: 	DDDead MMMail
To: 	Alan Gauld <alan.gauld at yahoo.co.uk>, tutor at python.org



On Sun, 2017-11-12 at 23:06 +0000, Alan Gauld via Tutor wrote:
> On 12/11/17 15:54, 劉權陞 wrote:
...
> Can you tell us what language this is?
> Or better still post an English translation?
> That's what most of us speak on this list...
...
It's Chinese. Google Translate does a decent job with Chinese, much
better than Korean at least.

> I encountered some problems when using closure.
> For example, a simple example,
>
> def f1 (a):
> def f2 (b):
> return a + b
> return f2
>
> f1 = f1 (10)
>
> This time f1 conflict, is this normal?

It appears to be a question about currying in Python?




More information about the Tutor mailing list