Python Wales
@PythonWales
Tweeting a daily Python challenge - a project by @STEM_Wales
Może Ci się spodobać
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 Trendy
- 1. Ravens 62.7K posts
- 2. Drake Maye 26.5K posts
- 3. Patriots 125K posts
- 4. Lamar 28.2K posts
- 5. Derrick Henry 10.1K posts
- 6. Harbaugh 11.2K posts
- 7. Zay Flowers 8,224 posts
- 8. Pats 15.3K posts
- 9. 60 Minutes 60.4K posts
- 10. Bari Weiss 50.9K posts
- 11. Tyler Huntley 2,188 posts
- 12. Steelers 85.7K posts
- 13. Mark Andrews 5,154 posts
- 14. Kyle Williams 2,392 posts
- 15. Marlon Humphrey 2,065 posts
- 16. Diggs 12.8K posts
- 17. Westbrook 4,996 posts
- 18. #BaddiesUSA 8,821 posts
- 19. Boutte 2,336 posts
- 20. Lions 90.8K posts
Może Ci się spodobać
Something went wrong.
Something went wrong.