IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
Text Scrambler, Beginner Programming Challenge
Siph0n
post Mar 15 2010, 05:55 PM
Post #11



Group Icon

Group: Administrators
Posts: 2870
Joined: 14-July 05
From: USA
Member No.: 3694



QUOTE (Andrew#002 @ Jan 5 2010, 07:27 PM) *
Sample runs...
CODE
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlaely plbsosie for pleope to read tshi, do you tnhik? I am not cecvonind.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rllaey pliossbe for people to raed tshi, do you tnhik? I am not cecnivnod.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlleay plissobe for plpoee to raed tsih, do you tnhik? I am not cecnivnod.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlealy plbssoie for ppeole to raed tsih, do you tnihk? I am not cecivonnd.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it raelly pissoble for ploepe to read tihs, do you tihnk? I am not cenvnoicd.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it really plbissoe for plpoee to read tsih, do you tnihk? I am not ceinovncd.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlleay pisosble for ploepe to raed tihs, do you tihnk? I am not cenonvicd.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rllaey plbssoie for ppeole to read tihs, do you tnhik? I am not cecinovnd.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlealy plossibe for plpeoe to raed tihs, do you tnihk? I am not cecnivnod.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlealy plbossie for ploepe to read tsih, do you tnihk? I am not cecvonind.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlealy plisosbe for ppoele to raed tsih, do you tnihk? I am not cecnivnod.
>./scrambler.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlaely plisosbe for plpoee to read tsih, do you think? I am not cecvnoind.


Same "problem" as mine. Namely, notice the results for "this." It's output as "tsih," "tish," and the correct "tihs."


--------------------
QUOTE (callmenames @ Jun 29 2008, 02:49 PM) *
Is a rose bush wrong in its thorny self-adornment? Is fire truly bad when it engulfs mere material in beautiful flame? So it is with Siph0n...


Click: Thar? Yes, right thar.
Go to the top of the page
 
+Quote Post
Andrew#002
post Apr 23 2010, 06:35 PM
Post #12



Group Icon

Group: V.I.P.
Posts: 339
Joined: 25-June 08
From: San Francisco, CA
Member No.: 12208



Ahh, I see. Add a comma to the somepunct variable...
CODE
somepunct='!.?,'


CODE
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlleay plisosbe for plpeoe to read this, do you tnihk? I am not ccnvonied.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlealy plissobe for pleope to raed tihs, do you tnihk? I am not cnivnoced.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlleay plbossie for plpoee to raed this, do you tihnk? I am not cecnivnod.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlaely plbssoie for ppeole to raed tihs, do you think? I am not ceivnoncd.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlaely plssoibe for pleope to read tihs, do you think? I am not cecnvonid.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlaely plbissoe for ppoele to read tihs, do you tnihk? I am not cecnivnod.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlaely pisosble for ploepe to raed tihs, do you tnihk? I am not cecnvnoid.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rllaey plbissoe for ploepe to raed this, do you tnihk? I am not cenivoncd.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlleay pbisosle for ploepe to read this, do you tnhik? I am not cecnovind.
./scramble.txt "Is it really possible for people to read this, do you think?  I am not convinced."
Is it rlleay pbisosle for plpoee to raed this, do you tnihk? I am not ceivnoncd.


--------------------
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 10th September 2010 - 03:01 PM