TORONTO KIDS COMPUTER CLUB | PMCA Saturday 18:30 Python Homework 21.08.07.
19808
post-template-default,single,single-post,postid-19808,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Saturday 18:30 Python Homework 21.08.07.

11 Aug PMCA Saturday 18:30 Python Homework 21.08.07.

Question:
Use the classes we created in the previous class, write code to create an average stack, the average stack should contain the average of all the numbers in the stack including the top number.

This is similar to MinMaxStack, but instead of a minimum and maximum number we just want to get the average of all the numbers in the stack.

No Comments

Sorry, the comment form is closed at this time.