Spent the day creating a function to generate several graphs of Data depending on transactions. 😅
The problem is I need to deal with dates. So if the first transaction is on Tuesday, and the last is on the next Tuesday, I need to generate 2 graphs (one for each week). 💯 All good until here, but It’s very tricky to calculate the number of weeks between 2 dates, especially because the first day might be on the 27 of December, and the last date might be on the 14 of January. In this case, we want to generate 5 graphs of data. 🙄
So this introduces a whole other complexity to the function that will calculate the weeks' difference between the 2 dates… I hate to deal with dates 😅
What are you up to today? Do you also dislike dealing with calculation between date values? ✌🏼 ...
Rate this setup 👇🤓🚀
Photo by: @ozgewhocodes
Happy coding 🎊 Yesterday, I finished learning swift in one week challenge 😅😅I’ll start my new project with Swift 👾 so excited but at the same time I continue swift course on Udemy👌🥳 ...
Cut the noise and GROW! GROW! GROW! We offer FREE consultations to strategise a high quality digital campaign to boost your exposure and performance. ...
Day 7/100 => Today Focus was application of all I have learnt so far on creating the Python Magic Ball Game.
I used the "sys" and "random" modules.
Users run the program and they recieve a prompt asking them to ask the magic ball question. The user will then type in a question and press enter key. The Logic, built in the code will then return a random response back to the user. The program continues to run in a loop, returning a random response for each question the user types. If the user doesn't enter a question and presses the enter key, then the application should quit.