Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Because, giant newb faggotry

Name: Anonymous 2011-06-28 12:37

I'm working on a little project to learn Python, but I can't seem to get past the baby steps. Some iterations of my loop are behaving a little erratically, not catching certain letters and shifting them.

http://pastebin.com/YDR1mQhE

Not looking for code for an answer, but maybe some information that will put me in the right direction.

Name: Anonymous 2011-06-28 13:05

Check your conditions. Especially first one.

Name: Anonymous 2011-06-28 13:07

Oh. Searching for "password" in pastebin is fun.

Name: Anonymous 2011-06-28 13:11

>>3

Not my idea of a good time, but perhaps I'm just a homosexual.

Name: Anonymous 2011-06-28 13:23

>>4
No, it's just I'm bisexual. Or asexual. does ABIsexual makes sense? Probably not. Does it matter? I don't even know why I write on this board anymore.

Name: OP 2011-06-28 13:27

Awesome, got it. Didn't realize it was catching the caps it had just modified as it was going through.

Name: Anonymous 2011-06-28 13:44

On the second level of the challenge and already asking for help? Just quit now OP.

from string import ascii_lowercase as alpha, maketrans
from sys import argv

print SECRET_MESSAGE.translate(maketrans(alpha, alpha[2:]+alpha[:2]))

Name: Anonymous 2011-06-28 14:38

>>5
Fuck off, ``faggot''-

Name: Anonymous 2011-06-29 8:06

>>5
I liked this post in a strangest way.

Name: Anonymous 2011-06-29 8:44

>>5

It's called bi-curious.

Name: dubzbot-ng 2011-06-29 8:44

:GJS1M 67dcbdbce4a0b67c4b48e86a6ae29205a95e4b83024a9d947213d1231800e8d9
:31 bb5224fdd185bd0ca2b1cd9b218f2801
:1309279067 1309351466

>>6
dubz

Name: Anonymous 2011-06-29 12:43

are you doing the open course wear exercises?

Name: Anonymous 2011-06-29 13:07

>>1
Also, can you please stop writing str.replace(x, y, z) instead of x.replace(y, z)?

Name: Anonymous 2011-06-29 16:51

>>13
No. U mad, autist?

Don't change these.
Name: Email:
Entire Thread Thread List