<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div>
<div>
<div style="direction: ltr;">Couldn’t 10 be “Mother Earth “? Or is this silly? <span id="ms-outlook-ios-cursor">
</span></div>
</div>
<div><br>
</div>
<div class="ms-outlook-ios-signature">
<div style="direction: ltr;">Michelle Wiboltt</div>
<div style="direction: ltr;">www.elb1b69.net</div>
<div style="direction: ltr;">604-612-2505</div>
<div><br>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Projects <projects-bounces@vicpimakers.ca> on behalf of Craig Miller <cvmiller@gmail.com><br>
<b>Sent:</b> Thursday, October 29, 2020 9:36:07 AM<br>
<b>To:</b> Talk about Raspberry Pi / embeded projects <projects@vicpimakers.ca><br>
<b>Subject:</b> Re: [VicPiMakers Projects] Challenge 1 Final</font>
<div> </div>
</div>
<div style="background-color:#FFFFFF">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="x_moz-cite-prefix">On 10/29/20 5:44 AM, Greg H wrote:<br>
</div>
<blockquote 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="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, 28 Oct 2020 at 22:54, James Briante <<a href="mailto:briantej@gmail.com">briantej@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_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="x_gmail_default" style="font-size:small">Hi All,</div>
<div class="x_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="x_gmail_default" style="font-size:small"><br>
</div>
<div class="x_gmail_default" style="font-size:small">Thanks for all your comments and support.</div>
<div class="x_gmail_default" style="font-size:small"><br>
</div>
<div class="x_gmail_default" style="font-size:small">Jim</div>
<div class="x_gmail_default" style="font-size:small"><br>
</div>
</div>
-- <br>
Projects mailing list<br>
<a href="mailto:Projects@vicpimakers.ca" target="_blank">Projects@vicpimakers.ca</a><br>
<a href="https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7C2998db7b290b46a6614608d87c28d9ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637395862210142640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7u%2BgKZO7Al7CqykfNckws1qdfcdI8hq4QDj3tmECFxc%3D&reserved=0" originalsrc="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" shash="DqVmuRf3AzlOfdy+CG7y4c0L/uMOWH8HOVOmBklrsLo0MDThvVBUz9an95y2Fxw42lU33+LNZDZN6iBj0TsPAk1GKnYu7Td07GUfxbWBWVp0gS1TN4M1SkTKN0sbvceqqonJ/TwXnAv0rppXpto4wJ1IsLaz0VYuQX2prXpUe4s=" rel="noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote>
</div>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset> <br>
</blockquote>
<br>
<div class="x_moz-signature">-- <br>
IPv6 is the future!<br>
<a href="https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fipv6hawaii.org%2F&data=04%7C01%7C%7C2998db7b290b46a6614608d87c28d9ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637395862210152636%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0EazuQkfa4VCJAWAWN0JN8iSZSjAok3%2BfuI1H5K2%2B10%3D&reserved=0" originalsrc="http://ipv6hawaii.org/" shash="BJ5zHHoBXdfkLSjpGv8lh4p3Hd8+ac210PeVMJy2CuuvtiL2GgjYCpOvakclX+/9j1IvT4ztvsCzL2BHv60R/DmWR5HfWSZOoF2sa6f4LBAFfNiikpOqtseOmn+JCcXLe07bmdXB5qwHqnpyWPikjoLGk3WxF6XtQevAQxsWe3w=">http://ipv6hawaii.org/</a><br>
</div>
</div>
</body>
</html>