Skip to content

Instantly share code, notes, and snippets.

View hafsaulusal's full-sized avatar

Hafsa ULUSAL hafsaulusal

View GitHub Profile
//////////VİZESORU2-a)
#encoding:utf-8
def sol_dib(mytree):
sol=mytree[1]
while True:
if sol[1]==[]:
sol=sol[0]
return sol
break
sol=sol[1]
//////////VİZESORU2-a)
#encoding:utf-8
def sol_dib(mytree):
sol=mytree[1]
while True:
if sol[1]==[]:
sol=sol[0]
return sol
break
sol=sol[1]