Welcome to the bar!
We recommend you drink 1 glass of water per drink so you're not hungover tomorrow morning. Your fellow coders have bought you ...
For further actions, you may consider blocking this person and/or reporting abuse
Python solution
I want to suggest a challenge. What should be the subject of my email? Can I send a markdown file?
Hey Vidit, I'm happy to hear you wanna suggest a challenge. You can send any suggestions to yo+challenge@dev.to. Feel free to drop the content of your challenge in the email, markdown file works too. Subject doesn't matter too much, we'll know what it is.
Take care!
Thanks!
Using regular expressions in JavaScript:
We get the following results:
I didn't see yours, but mine is practically identical 😮
Yours has some checks that make it more robust... And that I probably should add to mine 😳
My solution in python
Python solution 🐍
My swift solution :
Your theme looks amazing, what is it?
What if I drink "11 beers"?
(I have a feeling I'll be severely under-hydrated)
Any chance you would be willing to upload it for me somewhere? :)