TORONTO KIDS COMPUTER CLUB | PMCA Friday Python CCC
101
archive,paged,category,category-pmca-friday-python-ccc,category-101,paged-7,category-paged-7,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Friday Python CCC

03 Mar PMCA Friday 19:00 Python Homework 20.02.28.

Question 1:Using the binaryTree() and other helper functions we made in the class. If we run the following code, please print the binary tree as list: r = binaryTree('a') insertLeft(r,'b') insertRight(r,'c') insertRight(getRightChild(r),'d') insertLeft(getRightChild(getRightChild(r)),'e') And also please draw the tree graph. Question 2:Write a function buildTree() that returns a tree using the list...

Read More