![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
FreeCodeCamp
文章平均质量分 90
play maker
这个作者很懒,什么都没留下…
展开
-
FreeCodeCamp----Scientific Computing with Python Projects - probability-calculator
Assignment Suppose there is a hat containing 5 blue balls, 4 red balls, and 2 green balls. What is the probability that a random draw of 4 balls will contain at least 1 red ball and 2 green balls? While it would be possible to calculate the probability usi原创 2021-01-23 09:46:26 · 404 阅读 · 0 评论 -
FreeCodeCamp----Scientific Computing with Python Projects - Polygon Area Calculator
Assignment In this project you will use object oriented programming to create a Rectangle class and a Square class. The Square class should be a subclass of Rectangle and inherit methods and attributes. Rectangle class When a Rectangle object is created, i原创 2021-01-23 08:31:01 · 489 阅读 · 3 评论 -
FreeCodeCamp----Scientific Computing with Python Projects----Budget-app
Assignment Complete the Category class in budget.py. It should be able to instantiate objects based on different budget categories like food, clothing, and entertainment. When objects are created, they are passed in the name of the category. The class shou原创 2021-01-17 18:33:23 · 1054 阅读 · 0 评论 -
FreeCodeCamp----Scientific Computing with Python Projects----time-calculator
Assignment Write a function named add_time that takes in two required parameters and one optional parameter: a start time in the 12-hour clock format (ending in AM or PM) a duration time that indicates the number of hours and minutes (optional) a starting原创 2021-01-17 11:54:32 · 673 阅读 · 0 评论 -
FreeCodeCamp----Scientific Computing with Python Projects----Arithmetic Formatter
Assignment Students in primary school often arrange arithmetic problems vertically to make them easier to solve. For example, “235 + 52” becomes: 235 + 52 ----- Create a function that receives a list of strings that are arithmetic problems and returns原创 2021-01-17 10:50:48 · 900 阅读 · 1 评论