PythonWales's profile picture. Tweeting a daily Python challenge - a project by @STEM_Wales

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

PythonWales's tweet image. 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

PythonWales's tweet image. 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

PythonWales's tweet image. 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

PythonWales's tweet image. 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

PythonWales's tweet image. 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

PythonWales's tweet image. 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

PythonWales's tweet image. 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

PythonWales's tweet image. Daily challenge:  Create a function that takes three numbers as arguments and outputs their sum.  #pythondaily #CSathome  @stem_wales

United States الاتجاهات

Loading...

Something went wrong.


Something went wrong.