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-180,page-paged-180,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Blog

29 Mar Friday 17:00 Python Practice 21.03.26.

Question for Sorting: Question 1: You are given an array A of non-negative integers of size m. Your task is to sort the array in non-decreasing order and print out the original indices of the new sorted array. Example: A= 4,5,3,7,1 After sorting the new array becomes A= 1,3,4,5,7 The required output should be...

Read More

27 Mar Monday 20:00 Python Practice 21.03.22.

Question:Create Card class so it can complete the following tasks: Card() – You can initial the card with random value (Assume the smallest card value is ‘2’, then followed by ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ’10’, ‘J’, ‘Q’, ‘K’, ‘A’) and according rank (integer...

Read More