摘要: pyschools Topic 5: Question 12题目:分解质因素Given a positive integer, write a function that computes the prime factors that can be multplied together to get back the same integer.def primeFactorization(num)... 阅读全文
posted @ 2020-08-05 08:56 九命猫幺 阅读(214) 评论(0) 推荐(0) 编辑
摘要: pyschools Topic 6: Question 11题目:矩阵乘法Write a function that does matrix multiplication. The product of a mxn matrix with a nxp matrix results in a mxp matrix. A mxn matrix, with m rows and n column... 阅读全文
posted @ 2020-08-05 08:52 九命猫幺 阅读(317) 评论(0) 推荐(0) 编辑