Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60950

Re: The input and output is as wanted, but why error?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: The input and output is as wanted, but why error?
Date 2013-12-03 16:51 +0000
References <387f5b5f-faf1-4715-8d49-e366be53fd00@googlegroups.com> <66f9ae94-9ba6-4468-a43f-57b19f57816e@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3520.1386089470.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 03/12/2013 16:38, geezle86@gmail.com wrote:
> Well,
> i've changed the "if len(xList).." from 4 to 10
>
> But still, it is not accepted :(
>

Where is your code that meets these requirements?

Input
The first line contains an integer n (1?=?n?=?100). Each of the
following n lines contains one word. All the words consist of
lowercase Latin letters and possess the lengths of from 1 to
100 characters.

Output
Print n lines. The i-th line should contain the result of
replacing of the i-th word from the input data

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

The input and output is as wanted, but why error? geezle86@gmail.com - 2013-12-03 07:48 -0800
  Re: The input and output is as wanted, but why error? John Gordon <gordon@panix.com> - 2013-12-03 16:03 +0000
  Re: The input and output is as wanted, but why error? Neil Cerutti <neilc@norwich.edu> - 2013-12-03 16:10 +0000
  Re: The input and output is as wanted, but why error? geezle86@gmail.com - 2013-12-03 08:35 -0800
    Re: The input and output is as wanted, but why error? Dave Angel <davea@davea.name> - 2013-12-03 12:58 -0500
    Re: The input and output is as wanted, but why error? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-12-03 17:54 -0500
  Re: The input and output is as wanted, but why error? geezle86@gmail.com - 2013-12-03 08:36 -0800
    Re: The input and output is as wanted, but why error? Neil Cerutti <neilc@norwich.edu> - 2013-12-03 16:58 +0000
  Re: The input and output is as wanted, but why error? geezle86@gmail.com - 2013-12-03 08:38 -0800
    Re: The input and output is as wanted, but why error? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-03 16:51 +0000
  Re: The input and output is as wanted, but why error? rusi <rustompmody@gmail.com> - 2013-12-03 09:19 -0800
  Re: The input and output is as wanted, but why error? Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-03 23:52 +0000

csiph-web