Fixed invalid syntax in pythag