Create a weather bot for Facebook messenger bot
When a user sends a message to a Facebook page that has bot feature setup, it is sent to the chatbot server by using webhooks. The chatbot server receives the message and It can do operations like … read more
Fizz buzz algorithm
Day 004 Problem statement: Fizz and Buzz refer to any number that’s a multiple of 3 and 5 respectively. In other words, if a number is divisible by 3, it is substituted with Fizz. if a number … read more
Must use tools to build better Progressive Web Apps
Timezone aware datetime in mongodb using pymongo
MongoDB stores dates in UTC timezone by default. This makes it possible to do timezone conversion to be done in both client side side or server side.
dependancies $ pip install pytz pymongo code from … read more
Even Fibonacci numbers
Today, I am going to solve Project Euler’s 2nd problem Even Fibonacci numbers.
Day 002 Problem statement:
Each new term in the Fibonacci sequence is generated by adding the previous two terms. … read more