Functional Programming ToolsFunctional Programming ToolsThere are three built-in functions that are very useful when used with lists: filter(), map(), and reduce().filter(functio…Read More
[Question 3] Leap year finderDescriptionLeap years occur according to the following formula: a leap year is divisible by four, but not by one hundred, unless it is divisible by fo…Read More
[Question 2] Guessing gameDescriptionThe computer will pick a number between 1 and 100. (You can choose any high number you want.) The purpose of the game is to guess the numbe…Read More
[Question 1] Temperature converterQuestion :DescriptionWrite two functions that will convert temperatures back and forth from the Celsius and Fahrenheit temperature scales. The formula…Read More
[Question 4] Powerball number generatorDescriptionTo win the Powerball lottery (an extremely unlikely event so don't waste your time) you have to pick six numbers correctly. The first five …Read More
0 意見:
張貼留言