Hello: I am the student in junior high school.I would like to learn python,
but there are few traditional Chinese resources on the website, especially
the Python's documents are all in English I can not read it.(
https://docs.python.org/2/)
I hope you can build a platform for studying in Traditiona
我在使用closure 時,遇到了一些問題。
例如一個簡單的例子,
def f1(a):
def f2(b):
return a+b
return f2
f1=f1(10)
這時f1會發生衝突 ,這是正常的嗎?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tu
To deposit a nodes in the tree (adding a new node), for example: put 3: {}
in the Tree branch at branch tuple (2, 4, 1, 5) .
If don't use :
def f(T,k,v):
m=len(T)
if m==0:
Tree[k]=v
elif m==1:
Tree[T[0]][k]=v
elif m==2:
Tree[T[0]][T[1]][k]=v
elif m==3:
a phone)
>
> On Sun, Apr 22, 2018, 08:54 劉權陞 <01patrick...@gmail.com> wrote:
>
>> To deposit a nodes in the tree (adding a new node), for example: put 3: {}
>> in the Tree branch at branch tuple (2, 4, 1, 5) .
>> If don't use :
>> def f(T,k,v):
>>