<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 10/28/2013 4:55 PM, Alex Tenno
wrote:<br>
</div>
<blockquote
cite="mid:CAEyiCx8No17aWtHZAiUNoUSN+84Joecaa92nP83QXvSsAQOxnw@mail.gmail.com"
type="cite">
<div dir="ltr">Hey everyone,</div>
</blockquote>
Hey back.<br>
<blockquote
cite="mid:CAEyiCx8No17aWtHZAiUNoUSN+84Joecaa92nP83QXvSsAQOxnw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>I'm encountering a problem with a python function that I am
supposed to create. </div>
</div>
</blockquote>
What is the problem? You have not told us that!<br>
<br>
What class is this for? I guess either the class is not the right
one for you (over your head) or the class is just a dud, or you got
behind. It will help us if you explain your circumstances.<br>
<br>
Also we like to see any effort you have put into solving the
problem. <br>
<br>
What version pf Python? What Operating System? What do you use to
write your programs? How do you run them?<br>
<br>
<blockquote
cite="mid:CAEyiCx8No17aWtHZAiUNoUSN+84Joecaa92nP83QXvSsAQOxnw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I want my function to look at a string, and then replace
each letter in the string with its relative position in the
alphabet. for example, 'abcde' would return '12345', 'zabd'
would return '4123', and 'xpft' would return '4213'. I have
been given hints that tell me "<span
style="color:rgb(0,0,0);font-family:Arial;font-size:13px">You
may want to iterate over the letters ch in s as in the for
loop above, and inside that for loop, count the number of
letters that are in s and come before the loop variable ch.
You will also need an accumulator to build the permutation
the function will return."</span>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bob Gailer
919-636-4239
Chapel Hill NC</pre>
</body>
</html>