This is a simple example of putting two verbatim/programlisting blocks into a table in FO and HTML.

RPython
Sum = 
function(x)
{
  ans = 0
  for(e in x)
    ans = ans + e
  ans
}
def Sum(x):
    ans = 0.0
    for i in x:
        ans = ans + i
    return ans