[VicPiMakers Projects] Challenge 1 Final
Craig Miller
cvmiller at gmail.com
Thu Oct 29 09:36:07 PDT 2020
I didn't fair so well. But then my excuse is that we were given less
info on the Final (we weren't given the decoded word for output 10).
cvmiller at paikea:/tmp$ python3 ./cvm_challenge1.py
Output1: Sum is:875
Output2: Avg:72 Remainder is:11
Output3: even values are: [58, 110, 88, 34, 58]
Output4: min is: 34 position is: 10
Output5: Duplicates [35, 58]
Output6: 16 bit number 25914
Output7: sorted list [34, 35, 35, 58, 58, 75, 79, 88, 91, 101, 110, 111]
Output8: character list e:Kn#[Oo#X":
Output9: character list EKNOOX
Output10: coded word key 2
I knew #5 was going to be wrong, because it didn't work correctly (it
found duplicates, but not the first duplicate), and my excuse for #4
that I started counting at 0, rather than 1 (my bad).
A good challenge, Jim,
Thanks!
Craig...
On 10/29/20 5:44 AM, Greg H wrote:
> Thanks Jim!
>
> Mine seems to be working ...
>
> $ jims_challenge.py "101,58,75,110,35,91,79,111,35,88,34,58"
> Output #1: 875
> Output #2: 72,11
> Output #3: 58,110,88,34,58
> Output #4: 34,11
> Output #5: 4,35,35,58,58
> Output #6: 25914
> Output #7: 34,35,35,58,58,75,79,88,91,101,110,111
> Output #8: e:Kn#[Oo#X":
> Output #9: EKNOOX
> Output #10: 25
> ** caesar decoded string = FLOPPY
>
> Note - In my case for the caesar cypher, I went the other way. Given
> the encrypted string and key, determine the output. So I had to adjust
> the internal constant to 25 to reveal "FLOPPY".
>
> Cheers,
> Greg
>
> On Wed, 28 Oct 2020 at 22:54, James Briante <briantej at gmail.com
> <mailto:briantej at gmail.com>> wrote:
>
> Hi All,
> Please find attached *Challenge 1Final.pdf*. Run your program
> using the test input data shown and see how you did.
>
> Thanks for all your comments and support.
>
> Jim
>
> --
> Projects mailing list
> Projects at vicpimakers.ca <mailto:Projects at vicpimakers.ca>
> http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca
>
>
>
--
IPv6 is the future!
http://ipv6hawaii.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201029/6d1bb5e6/attachment.htm>
More information about the Projects
mailing list