Re: [Tutor] ideas?

2013-11-18 Thread Alex Kleider
On 2013-11-17 19:27, Byron Ruffin wrote: Need a little help with finding a process for this: when a string of text is input, for example: abc def. I want to have each letter shift to the right one place in the alphabet. Thus.. abc def would be output as bcd efg. Any ideas on how to do this?

Re: [Tutor] ideas?

2013-11-18 Thread Danny Yoo
For reference, here are the documentation pages for ord() and chr(): http://docs.python.org/3/library/functions.html?highlight=chr#ord http://docs.python.org/3/library/functions.html?highlight=chr#chr On Mon, Nov 18, 2013 at 3:01 AM, Alan Gauld wrote: > On 18/11/13 03:27, Byron Ruffin

Re: [Tutor] Tutor Digest, Vol 117, Issue 32 ( Subject: Phython List values )

2013-11-18 Thread Satheesan Varier
OP topic in my tutorial if you like... > In a nutshell: > > A class is a type, like string or integer are types. > An instance is a 'value' of that type, like 'foo' or 42. > Classes define methods (or operations) that you can apply > to the instances, like 

Re: [Tutor] Phython List values

2013-11-18 Thread Oscar Benjamin
On 18 November 2013 06:57, Ayo Rotibi wrote: > Hi, Hi, please don't post in HTML. > I am a complete newbie to python. > > I read that an assignment with an = on lists does not make a copy. Instead, > assignment makes the two variables point to the one list in memory. For > instance, if a = [1, 2

Re: [Tutor] ideas?

2013-11-18 Thread Alan Gauld
On 18/11/13 03:27, Byron Ruffin wrote: Need a little help with finding a process for this: when a string of text is input, for example: abc def. I want to have each letter shift to the right one place in the alphabet. Thus.. abc def would be output as bcd efg. Any ideas on how to do this? Yes

Re: [Tutor] ideas?

2013-11-18 Thread Peter Otten
Byron Ruffin wrote: > Need a little help with finding a process for this: > > when a string of text is input, for example: abc def. > I want to have each letter shift to the right one place in the alphabet. > Thus.. > abc def would be output as bcd efg. > > Any ideas on how to do this? Have a l

Re: [Tutor] Phython List values :p:

2013-11-18 Thread Paradox
Ayo, On 11/18/2013 01:57 AM, Ayo Rotibi wrote: I read that an assignment with an = on lists does not make a copy. Instead, assignment makes the two variables point to the one list in memory. For instance, if a = [1, 2, 3] and b=a, then b = [1, 2, 3]. However, I discovered that if I change

[Tutor] ideas?

2013-11-18 Thread Byron Ruffin
Need a little help with finding a process for this: when a string of text is input, for example: abc def. I want to have each letter shift to the right one place in the alphabet. Thus.. abc def would be output as bcd efg. Any ideas on how to do this? __

[Tutor] Phython List values

2013-11-18 Thread Ayo Rotibi
Hi, I am a complete newbie to python. I read that an assignment with an = on lists does not make a copy. Instead, assignment makes the two variables point to the one list in memory. For instance, if a = [1, 2, 3] and b=a, then b = [1, 2, 3]. However, I discovered that if I change the valu