Python Wales
@PythonWales
Tweeting a daily Python challenge - a project by @STEM_Wales
Tal vez te guste
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 Tendencias
- 1. Philip Rivers 3,977 posts
- 2. Colts 18.9K posts
- 3. #PeachandPablo 1,614 posts
- 4. #WLRDeluxe 18.7K posts
- 5. #ForTheShoe 1,124 posts
- 6. Kansas 29.5K posts
- 7. Arrowhead 9,760 posts
- 8. Missouri 13K posts
- 9. #SFvsIND N/A
- 10. #MondayNightFootball N/A
- 11. Asuka 13.5K posts
- 12. Niners 4,289 posts
- 13. Greenland 58.3K posts
- 14. Uncle Phil N/A
- 15. Alec Pierce N/A
- 16. Golden Fleet 8,907 posts
- 17. Vince Zampella 49.9K posts
- 18. Trevor Jackson N/A
- 19. Trump Class 18.9K posts
- 20. Battleships 18K posts
Tal vez te guste
Something went wrong.
Something went wrong.