I find there is a problem editing posts and comments which contain sourcecode tags.
I have posted about this problem at the WordPress Support Forums.
Here is some Python code that is a solution to Enigma 1646.
from fractions import Fraction from collections import Counter ms = Counter() for x in range(15, 255, 15): for y in range(0, 195, 15): ms[Fraction(y - 80, x)] += 1 print(len([m for m in ms.values() if m > 1]))
The problem is when presented in the editor the line:
is presented as:
Notice that the double quotes around python, become duplicated. Unless this is resolved manually before saving the comment, it will be messed up when displayed.
I will now reproduce the code in a comment, and then edit it and add one additional line at the end.