Re: [Tutor] Root and power

2015-07-30 Thread Job Hernandez
Thank you all,\. Programming is the hardest thing i have ever tried to learn. So thank you for your help. Job On Tue, Jul 28, 2015 at 8:29 PM, Job Hernandez wrote: > How is it going tutors? > > The following problem seems impossible to me: > > "*Write a program that asks

[Tutor] Root and power

2015-07-29 Thread Job Hernandez
priate function but I have not. If you have the time can you please tell me about the functions and other facts I need to know in order to solve this problem? Is there a book you guys recommend for total beginners who have no ideal of what computer science and programming

[Tutor] Abs

2015-07-27 Thread Job
of a given integer I may make this program. Thank you and forgive for my fuzzy thoughts. Job ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

[Tutor] (no subject)

2015-07-25 Thread Job Hernandez
he code below it works. But these do: a = 3 b = 7 c = 9 list = [ a, b, c] list2 =[] for x in list: if x%2 == 1: list2.append(x) print list2 w = max(list2) print ' %d is the largest odd number.' % w #Thank you for your time. Sincerely , Job __

Re: [Tutor] IndexError: list index out of range

2011-11-21 Thread Nidian Job-Smith
To answer your questions Steven What is the intention of this function? The name given doesn't mean anything to me. The parameters "names" and "step" don't seem meaningful. I can see what the function does: it deletes bits of something, probably a list, in a convoluted way, eventually causing

Re: [Tutor] Doctest error!

2011-11-17 Thread Nidian Job-Smith
> Date: Thu, 17 Nov 2011 22:49:33 -0500 > From: d...@davea.name > To: nidia...@hotmail.com > CC: tutor@python.org > Subject: Re: [Tutor] Doctest error! > > On 11/18/2011 10:29 AM, John wrote: > > > > Hi all, > > When i run a doctest on this piece of code

[Tutor] Encoding

2011-11-17 Thread Nidian Job-Smith
Hi all, In my programme I am encoding what the user has in-putted. What the user inputs will in a string, which might a mixture of letters and numbers. However I only want the letters to be encoded. Does any-one how I can only allow the characters to be encoded ?? Big thanks,

Re: [Tutor] Rot13

2011-11-17 Thread Nidian Job-Smith
Sorry about the code format in last E-mail. I'll attach the code in notepad, as my e-mail doesnt seem to like sending plain text.. > From: nidia...@hotmail.com > To: st...@pearwood.info; tutor@python.org > Date: Thu, 17 Nov 2011 17:45:11 + > Subject:

[Tutor] Rot13

2011-11-17 Thread Nidian Job-Smith
Hi all, I'm new to programming (thus Python), so after reading the basics, I wanted to practise what I've learnt . I've come across a beginners exercise which is to write the code for rot13.   I've written some code but it doesn't seem to work When I run it I get this error: NameError: glo

[Tutor] (no subject)

2011-11-17 Thread Nidian Job-Smith
Hi all, I'm new to programming (thus Python), so after reading the basics, I wanted to practise what I've learnt . I've come across a beginners exercise which is to programme rot13. I've written some code but it doesn't seem to work Here it is: def rot13(s):char_low = ()result = ""

[Tutor] Tutor Ilde running problems

2011-11-16 Thread Nidian Job-Smith
Hi all, Just installed python 2.7.2 on my windows 7 32-bit laptop. However when I attempt to run idle it wont open (nothing happens) Wondered if any of you have had this problem and have any tips? Cheers> ___ > Tutor maillist - Tutor@python.org > To u