Ad
  • Custom User Avatar

    yeah there are no mentions about triangle edges but decription has two examples that in my opinion is enough to understand what to do.

  • Custom User Avatar

    I don't understand what was fixed? The (random) test data?

    Also, the description does not mention that the height and width of the triangle are always the same.

  • Custom User Avatar

    fixed, you will never get one point because the smallest triangle will have edge of one unit or three points

  • Custom User Avatar

    Area of triangle for edge=2
    Log
    ['', '.']
    0.0 should equal 0.5

    Above list is from str.splitlines().

    What is the area of a single dot triangle? Area of a point should be 0.0. Surely it's not 0.5!

  • Custom User Avatar

    This is the type of code that I love to maintain...