1-5 maybe
How many games should i play in a day?

You must live the game, you must spend every free second in it. You have to play 30 games per second. You have to be the best of the best in this [removed -- MS] game. The fact that you are the best you have to prove to everyone, friend, brother, parents, the whole world. Don't stop bro

I am a new player who started playing like 2-3 weeks ago. How many games should i play in a day and how much time should i give to the learning stuff?
i think 9, but learn 3 things first everyday before you play, so you can practice when ur playing, and you can rest a bit after you play 5 games bc you'll get tired, then after the rest finish the 4 games that left, and you can do some puzzle if you want

I read this chess training program once which suggested playing 1 Rapid game and 4 blitz game on alternate days.
Never followed it xD
Key is to analyse your game afterwards.

I am a new player who started playing like 2-3 weeks ago. How many games should i play in a day and how much time should i give to the learning stuff?
It depends on several things such as what time control games you play. Obviously, playing a specific number of games per day would be very different if you played 60 min chess versus 10 min chess. Another thing to consider is how long can you play a chess session and stay pretty focused? You shouldn't really be going any longer than this and different people have different levels of focus.
There is no doubt that part of getting good is playing a lot of games and learning from your mistakes (analysis after the game is great for this), but playing tons by itself isn't going to help you improve either.
I think more important than the number of games you play is what you learn from those games (especially your losses) and how often you can stick to playing games. If you play too many games per day (whichever that may be), then you risk burning yourself out faster.
@DwayneJohnson42069 has good advice to start out with. If you have no idea how much to play at all, then playing 1 or 2 rapid games a day is a good start and you can always play more games as you gain experience and feel comfortable playing more.

dont play if you feel that you wont play your best
whether this be due to frustration, a bad surrounding, lack of focus, or whatever, dont play at that time
this should dictate the number perfectly
edit: also dont play if you dont want to (ofc)

Chess.com programmers suck! How come what is post 3 at 1145am EDT May 14th, 2023 is posted, but you quote it and simply say "Isn't 30 games per second a little extreme?", it flashes you the red message of death? If it is because of HIS F word, not mine, how did the post get on there in the first place? He should be the one in trouble, not the quoter!
Chess.com developers SUCK!

The point is not the number of games you play per day, but what you actually do next. You need to carefully review each one of your games, wins and losses but unfortunately there is more to learn in lost games.
You shold play a number of games that still allows you to review each one carefully.
The other advice that I can share with you on "how many games to play" is: don't use your entire chess time for play. Imagine you play 30 minutes, and then you spend 15 reviewing what went wrong, keep some time (around the same time you invested in game review) to study something else: tactics, endgames, opening.
This final part, ideally, is connected to your findings in the review part: depending on what goes wrong, you will prioritize topics for some study/training. This mix of play/review/learn more is what you need to really improve, play a lot sure but also make sure your time budget doesn't go entirely in that.
I am a new player who started playing like 2-3 weeks ago. How many games should i play in a day and how much time should i give to the learning stuff?