Week 13
Below is a copy and paste of my code in python and java. Interestingly enough it made the background and colors the same as my IDE. Hopefully, this is better than my copy pastes in the past so you can see the code much better, I think. This python code is for my minilab 2. I came into this thinking this would be easy enough and it sorta was until I got to coding random integers to fill an array. Everything else was more or less review from what I did in the first one but I needed to look up how to initialize random class. I did that and came across a bit of a hold up when my code worked but it printed the same number( when I used the randint that I learned in an article). EX 3,3,3,3 (if array size was 4 and seed was 3). From there I tried to look up how to fill an array with random unique numbers and I came across a you tube video that was helpful until I ran the code and it was working because my tempRand was making my boolArray go out of bounds with the index. After many fixes and re...