TORONTO KIDS COMPUTER CLUB | Blog
1815
paged,page-template,page-template-blog-large-image,page-template-blog-large-image-php,page,page-id-1815,paged-289,page-paged-289,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Blog

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