Python Wales
@PythonWales
Tweeting a daily Python challenge - a project by @STEM_Wales
قد يعجبك
Solution to yesterdays challenge - list concatenation (list1+list2) and the use of .sort() method. #pythonWales #pythonDaily
Create a function that joins (concatenates) and sorts two lists of integers. #pythonWales #pythonDaily
Yesterdays solution required you to use the max() and min() methods as applied to the list of numbers. How did you get on? #pythonWales #pythondaily
From a list of test scores, return the average of the maximum and minimum scores. Your list must have a minimum of 6 items. #PythonWales #PythonDaily
The solution here was to look at the formula used for converting feet and inches into cm. The formula has two errors (see image) #pythonwales #pythondaily
Solution to yesterdays problem - make a function to sum three numbers. When you add in error handling, this is surprisingly complex. How did you get on? #PythonWales #pythondaily
You have created a function to convert height (in feet and inches) to cm. The calculated answer is incorrect. Find and correct the error in the code. #PythonWales #PythonDaily
Daily challenge update: For additional functionality, your function should really perform some error checking and handling. Consider what if the user entered addition(a,7,6) - how would your function deal with this error? #pythonwales #pythondaily
Daily challenge: Create a function that takes three numbers as arguments and outputs their sum. #pythondaily #CSathome @stem_wales
United States الاتجاهات
- 1. Jarry 7,807 posts
- 2. Skinner 8,706 posts
- 3. #FanCashDropPromotion 2,015 posts
- 4. #NXXT_28YearFlow N/A
- 5. Smear the Queer 3,963 posts
- 6. Edmonton 5,797 posts
- 7. #FursuitFriday 13.8K posts
- 8. Woody Allen 3,730 posts
- 9. FINALLY DID IT 496K posts
- 10. Oilers 7,348 posts
- 11. Kulak 8,752 posts
- 12. Dubas N/A
- 13. #NXXT_PPA N/A
- 14. The WET 85.5K posts
- 15. #TSTheEndOfAnEra 4,789 posts
- 16. SINGSA LATAI EP7 103K posts
- 17. Good Friday 68.4K posts
- 18. Pooh 20.1K posts
- 19. NextNRG Inc 1,670 posts
- 20. Murashov N/A
Something went wrong.
Something went wrong.