Remix.run Logo
▲ zahlman 9 hours ago

No, no it really wasn't. People were yelling about the flood of crap back then, too.

For reference, here is the verbatim (except for code formatting for HN) Markdown of the initial version of a question asked in 2010, my answer to which became my highest-ever scoring answer (and which ended up getting over 2 million views):

  if I have list of numbers as [1,2,3,4,5...........etc ]
  and I want to calculate as that (2+1)/2
  and for the second
  (2+3)/2
  third
  (3+4)/2
  ...... etc

  how can do as that ?
  like sum the first point with the second and divide it by 2 .. then sum the second with third point then divide it by 2 .... etc ?

  also how can i sum a list of number ?
  a = [1,2,3,4,5,......ect ]

  is it:

  b = sum(a)
  print b

  in i get one number !?
  it doesn't work with me 
  help me plz