Newbie - Stuck
Diez B. Roggisch
deets at nospam.web.de
Sun Oct 8 08:27:27 EDT 2006
r3bol at yahoo.com schrieb:
> The perl version of this code works but not the python version. What am
> I doing wrong?
>
> message = "abc"
> password = "z12"
>
> scrambled = message ^ password
>
> I also wondered why this errored as well...
>
> int(messege)
>
> Is it not meant to convert a string to a number?
Including error messages & stacktraces helps tremendously when asking
such questions - especially on a weekend, when our crystall balls are in
maintenance in the elves headquarters at the north pole.
Diez
More information about the Python-list
mailing list