Skip to content

Commit 7cf58ad

Browse files
author
Chloe White
committed
added basic skeleton for music recommender
1 parent 76640e9 commit 7cf58ad

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

music_rec/music_recommender.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# music_recommender.py
2+
"""
3+
Simple Music Recommender skeleton using Spotify API
4+
Recommends songs based on user-inputted emotions (placeholder).
5+
"""
6+
7+
def main():
8+
print("Welcome to the Music Recommender App")
9+
emotion = input("Enter your current emotion: ")
10+
print(f"Fetching playlist for emotion: {emotion} (placeholder)")
11+
12+
if __name__ == "__main__":
13+
main()

word_frequency/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Word Frequency Counter
2+
3+
This project is a simple Python script that counts the frequency of words in a text file and prints the **top 10 most frequent words** along with their counts.
4+
5+
## How It Works
6+
1. The script reads the contents of a text file.
7+
2. It splits the text into words and counts how many times each word appears.
8+
3. The top 10 most frequent words are displayed in the terminal.
9+
10+
## How to Run
11+
1. Open a terminal and navigate into this folder:
12+
```bash
13+
cd word_frequency_counter

word_frequency/counter_sample.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Learning Python is fun and powerful. Python makes it easy to build projects, solve problems, and explore new ideas.
2+
The more you practice Python, the better you get at writing clean and effective code.
3+
Programming with Python can open doors to data science, web development, automation, and much more.
4+
Keep practicing, keep building, and enjoy the journey of learning Python!

0 commit comments

Comments
 (0)