I have just begun learning Python and I got stuck (1day experience :)). Couldn't you help me with my homework?
Exercise: We have module checkers with function is_triangle
The method signature with a documentation string:
def is_triangle(a, b, c):
"""
:param a: length of first side
:param b: length of second side
:param c: length of third side
:return: "True" if possible to create triangle with these sides. Otherwise "False"
"""
You should develop full set of tests that will verify this function. The solution should use the nosetest library and it should be carried out in one file like:
$ Python% your_file_name% .py
What should I write in this .py file?