Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://global.discourse-cdn.com/business6/uploads/codeorgforum/original/2X/c/c5161d06bd71edd28804c4468228d3f5cf61ab63.png)
Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community
I was checking the Example Solution for the Netflix App and I noticed that the list of recommendations given by the app can contain the same movie/or TV show more than once. I believe this happens because the searchTypeList function uses randomNumber to select 5 items (we run the loop 5 times) from the filteredTitles list, and it is possible to get the same number multiple times. I thought this can be easily fixed by adding one line of code inside the second loop, right on the bottom. This is
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://image.isu.pub/230801122558-a9d19e0f1662b4a605ccfabac4af3a4f/jpg/page_1_thumb_large.jpg)
Education Reference Guide 2023/24 by Michael Farrell - Issuu
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://i.ytimg.com/vi/5jYyUJUU2MM/maxresdefault.jpg)
AP CS A - Code.org: Unit 3: Lesson 9 #2 (2022)
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://i.ytimg.com/vi/dgONIZGcBY4/sddefault.jpg)
UPDATED** AP CS A - Code.org: Unit 2: Lesson 3 #7d (2023)
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://i.ytimg.com/vi/dgONIZGcBY4/maxresdefault.jpg)
UPDATED** AP CS A - Code.org: Unit 2: Lesson 3 #7d (2023)
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://i.ytimg.com/vi/uyURSCvn11Y/mqdefault.jpg)
Code.org Lesson 3.6 Parameters and Return Practice
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://images.code.org/81a9d24c25cb5b3bef037b57efea2500-image-1481039300103.47.33%20AM.png)
16-'17 General Discussion for Lesson 3.10 - Unit and Lesson
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://assets-global.website-files.com/63deb4700c95fc8b0d114fde/659881e8587c65286f48f82f_HRIS%20Integrations.png)
The Finch Blog - Finch Unified Employment API
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://www.cambridge.org/elt/blog/wp-content/uploads/2021/03/Screenshot-2021-03-16-at-12.00.03.png.webp)
Page 21 – World of Better Learning
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://i.ytimg.com/vi/pSixvcJur4k/hq720.jpg?sqp=-oaymwE7CK4FEIIDSFryq4qpAy0IARUAAAAAGAElAADIQj0AgKJD8AEB-AH-CYAC0AWKAgwIABABGBEgaihyMA8=&rs=AOn4CLD05F2wk5DmvRp4WFeTg-wZkSihIA)
Code.org Lesson 3.6 Parameters and Return Practice
![Unit 7 Lesson 3 - Netflix App - Repeated Recommendation - Unit and Lesson Discussion - Code.org Professional Learning Community](https://i.ytimg.com/vi/3Tlf-gljKUE/maxresdefault.jpg)
Code.org Unit 7 Lesson 3 7 - compliment.er