Re: [BangPypers] SPOJ : PALIN problem ...

2014-11-11 Thread Kishor Bhat
Hi Avinash, I'd like to point out that the problem statement says that the given integer K has at max 10 ^ 6 digits. This does not mean that K is bounded by 10 ^ 6 ! Someone else correct me if I'm wrong, but I don't think this approach will hold for such large inputs. Regards,

Re: [BangPypers] SPOJ : PALIN problem ...

2014-11-11 Thread Kishor Bhat
ach might be to modify the input number directly (by manipulating the digits). Also, the extra parentheses around the second raw_input() is not necessary, but causes no errors. Regards, Kishor Bhat On Tue, Nov 11, 2014 at 10:31 PM, Nikhileshkumar Ikhar wrote: > Hi Kishor, > 10^6 is upper

Re: [BangPypers] Where to start?

2015-02-25 Thread Kishor Bhat
Here's the link: http://learnpythonthehardway.org/book/ Regards, Kishor Bhat On Wed, Feb 25, 2015 at 1:34 PM, ashish makani wrote: > Try reading the book > Learn python the hard way > > --ashish > On Feb 25, 2015 1:20 PM, "SIBI BALASANKARVIMOHINI" < > sibi_

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-16 Thread Kishor Bhat
On Fri, Apr 17, 2015 at 11:35 AM, arvind ks wrote: > Hi Everyone, > Could you please help me with the below python script that tries to add > characters A H to line starting with "service description" depending on > contact groups. > > *Input file::* > > define service{ > use generic-service > ser

[BangPypers] ECTF'15 Teaser - An Online Ethical Hacking Contest

2015-10-08 Thread Kishor Bhat
Hi! Team No Internet Access (NIA) brings to you the teaser for the second edition of its annual 'Capture the Flag' contest - ECTF. This year, ECTF'15 Teaser is being organized as a part of Engineer 2015 by National Institute of Technology Karnataka, India. It is an ethical hacking contest to tes