# HG changeset patch # User Nishanth # Date 1286706305 -19800 # Node ID 64d8bc8b33d481294e7d890ef1fc3fa07de43843 # Parent ca701f1ef7fbe5e76c633690340938fa329ae948 reviewed questions diff -r ca701f1ef7fb -r 64d8bc8b33d4 manipulating-strings/questions.rst --- a/manipulating-strings/questions.rst Sun Oct 10 15:49:44 2010 +0530 +++ b/manipulating-strings/questions.rst Sun Oct 10 15:55:05 2010 +0530 @@ -47,11 +47,11 @@ #. Given a line from a CSV file (comma separated values), convert it to a space separated line. - Answer: line.replace(',' ' ') + Answer: line.replace(',', ' ') -#. Given the string "F.R.I.E.N.D.S" in s, obtain the friends. +#. Given the string "F.R.I.E.N.D.S" in s, obtain the "friends". - Answer: ``s[::2].lower() + Answer: ``s[::2].lower()`` Larger Questions ----------------