def uppgift2(): # Problem vid ordnad lista. Blanda före insättning. wordList = open('15wordu.txt', 'rt', encoding='utf8').read().split(); tree = Bintree(); for word in wordList: tree.put(word); print('Trädets höjd är', tree.height());