The Instagram algorithm notes the type of content Finnick likes or skips past.
Finnick likes cooking reels, clothing posts, rugby posts and anything meme related. Finnick skips past political posts, diving compilations, celebrity drama and pet posts.
Use while loops to program an algorithm that decides what type of content will show up in Finnick’s feed again based on his likes and dislikes. The program should print out all eight examples of content with either “keep in feed” or “hide from feed” e.g.
rugby posts: keep in feed
political posts: hide from feed
And at the end it should also print out the amount of posts that stay or do not stay in Finnicks feed e.g.
Posts that will stay in Finnick's feed: 4
Posts that will not stay in Finnick's feed: 4