I've been reading an article but the code is written in C language which I don't get at all...
The code is:
void traverse(Tptr p)
{ if (!p) return;
traverse(p->lokid);
if (p->splitchar)
traverse(p->eqkid);
else
printf("%s/n", (char *) p->eqkid);
traverse(p->hikid);
Someone please translate it to python...