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