Skip to main content
4 events
when toggle format what by license comment
Oct 7, 2016 at 20:11 comment added 200_success The problem is that the function doesn't tell you which pairs out of the three files are identical to each other.
Oct 7, 2016 at 20:09 comment added Mahmood Muhammad Nageeb Thanks for your review! I don't get why are_identical isn't right. If you call are_identical([a, b, c]), it will compare a and b if the result of diff a b command isn't '' which is implied by if result the function will return False and exit, else then they are identical, and it will go forward and compare a and c and so on. If the loop ends without anything wrong, then True will be returned.
Oct 7, 2016 at 12:18 history edited 200_success CC BY-SA 3.0
deleted 29 characters in body; added 8 characters in body
Oct 6, 2016 at 22:43 history answered 200_success CC BY-SA 3.0