Re: [Tutor] New blog that has solution for python programs

2017-06-02 Thread meenu ravi
Great, thanks! On Jun 2, 2017 10:26 PM, "Danny Yoo" wrote: > Steven says: > > >> I don't think "what the authors might want" is the only factor here. > >> Personally, I think these programming challenge sites probably do more > >> harm than good, discouraging people that they're not good enough

Re: [Tutor] New blog that has solution for python programs

2017-06-02 Thread meenu ravi
Thank you all for your views. I was hesitating for the same reason. Now I'm clear that I shouldn't go for a blog that gives straightforward solution for the challenges. Thanks, Meena On Jun 2, 2017 7:30 PM, "Steven D'Aprano" wrote: > On Fri, Jun 02, 2017 at 05:00:37PM -0700, Danny Yoo wrote: >

[Tutor] New blog that has solution for python programs

2017-06-02 Thread meenu ravi
Hello, I'm planning to create a blog that provides solution with explanation for python programming challenges available in websites like Hackerearth, codecademy, etc., so that if others also share their solution along with explanation in the same blog, it will be helpful for beginners. I wanted t

Re: [Tutor] Sorting a list in ascending order [RESOLVED]

2016-04-29 Thread meenu ravi
number01 + number02 + number03 + number04 + number05 >> print >> print line >> line.sort() >> print >> print line >> >> >> 4111055344 >> >> Traceback (most recent call last): >> File "Mega_Millions_01_Tickets_Entry_TEST_TEST.py"

Re: [Tutor] Sorting a list in ascending order

2016-04-29 Thread meenu ravi
Hi Ken, As the message clearly says, the string object doesn't have an attribute "sort". You are trying to join the inputs as a single string,"line" and then you are trying to sort it. But, as you want the string in the sorted format, you should sort it first and then convert it into string, as fo

Re: [Tutor] Final review

2014-05-05 Thread meenu ravi
Hi Scott, The variable greeting is of type "string". >>> greeting = "Hello world" >>> type(greeting) The len(string) will count each character in the value of variable "greeting" starting from '1'. H - 1 e - 2 l - 3 l - 4 0 - 5 space - 6(Space and special characters are also counted)