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?
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
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
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
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
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
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
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?
__
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