Pythagoras theorem program in python. Args: a: The length of the first side.