Yes, MOSS does that.<p>I have been TA&#x27;ing a first year Python Programming course since beginning of this year; what you describe is the most common trick used by students---even though they have been told time and again that this will be detected.<p>As an example, MOSS picked up 91% similarity---between two students---for one of the module files.<p><pre><code>  # Student 1
  at1 = input(&quot;Attempt 1:\n&quot;)
  at2 = input(&quot;Attempt 2:\n&quot;)
  at3 = input(&quot;Attempt 3:\n&quot;)
  maxi.append(max(eval(at1),eval(at2),eval(at3)))

  # Student 2
  attempt1 = input(&quot;Attempt 1:\n&quot;)
  attempt2 = input(&quot;Attempt 2:\n&quot;)
  attempt3 = input(&quot;Attempt 3:\n&quot;)
  maximums.append(max(eval(attempt1),eval(attempt2),eval(attempt3)))
</code></pre>
I find it interesting that MOSS does a one-on-one comparison for each student.