<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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).<br>
<pre>cvmiller@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
</pre>
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).<br>
<br>
A good challenge, Jim,<br>
<br>
Thanks!<br>
<br>
Craig...<br>
<br>
<div class="moz-cite-prefix">On 10/29/20 5:44 AM, Greg H wrote:<br>
</div>
<blockquote
cite="mid:CAEuphw2EfMnWQ33y-M5B7o6UeL4n_ASRCjrrEXrYp0wFUih2EA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Thanks Jim!</div>
<div><br>
</div>
<div>Mine seems to be working ...</div>
<div><br>
</div>
<div>$ jims_challenge.py
"101,58,75,110,35,91,79,111,35,88,34,58"</div>
Output #1: 875<br>
Output #2: 72,11<br>
Output #3: 58,110,88,34,58<br>
Output #4: 34,11<br>
Output #5: 4,35,35,58,58<br>
Output #6: 25914<br>
Output #7: 34,35,35,58,58,75,79,88,91,101,110,111<br>
Output #8: e:Kn#[Oo#X":<br>
Output #9: EKNOOX<br>
Output #10: 25<br>
<div>** caesar decoded string = FLOPPY</div>
<div><br>
</div>
<div>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". <br>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Greg<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, 28 Oct 2020 at 22:54,
James Briante <<a moz-do-not-send="true"
href="mailto:briantej@gmail.com">briantej@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi All,</div>
<div class="gmail_default" style="font-size:small">Please
find attached <b>Challenge 1Final.pdf</b>. Run your
program using the test input data shown and see how you
did.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Thanks
for all your comments and support.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Jim</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
-- <br>
Projects mailing list<br>
<a moz-do-not-send="true"
href="mailto:Projects@vicpimakers.ca" target="_blank">Projects@vicpimakers.ca</a><br>
<a moz-do-not-send="true"
href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca"
rel="noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
IPv6 is the future!<br>
<a href="http://ipv6hawaii.org/">http://ipv6hawaii.org/</a><br>
</div>
</body>
</html>