total descendants:: total children::0 1 ❤️ |
ord mi nestaci, pretoze č a c pomocou ord neporovnám. import locale locale.setlocale(locale.LC_ALL, 'sk_SK.utf-8') a.sort(lambda x,y: locale.strcoll(x.lower(), y.lower())) toto je sort pola a porovnanie znakov: if locale.strcoll(znak1.lower(), znak2.lower()) >=0: ... |
| |||||||||||||||||||||||