Every developer needs a nice set of tools to help him to be more productive and focused towards his work. It may not be very easy for everyone to find a good set of tools. In this post, I am listing the tools that I have used and which may be very useful for you. IDEs IDEs are one of the most important tools that every developer needs. Some of the awesome IDEs that I have used and would recommend you are- 1) Adobe Brackets Brackets is a very lightweight IDE with many extensions giving it superpowers. If you are working on a small scale project and need speed, then Brackets is for you. It has awesome support for HTML, CSS and JS including smart autocomplete suggestions. Support for more languages can be extended via numerous extensions. Smart live preview gives more to programmers as they can see the changes as they code. This IDE is absolutely free of cost and available for downloading at http://brackets.io/ . 2) VS Code Visual Studio Code gives the power of Microsoft's Visual S
Today, we will increase our confidence in programming by making a coin toss program in two popular languages : Python and JavaScript. Starting from Python: Python is a very popular and readable language. Python developers have a large demand in the industry. So keeping this in mind, we will start with python. First of all, we will make an algorithm on which we will work. 1)Make two choices. 2)Have random computer input and human input. 3)Check if both inputs are same. 4)Print the result of the toss. These are the basic steps. We will add additional features afterwards. So let's go... 1)Importing packages First ly, we will import a package which will help us to generate random computer choice. import random 2)Creating choices For creating two choices to select, we will make a list as follows- options = ['heads', 'tails'] 3)Selection We can get user's choice using input() - userchoice = input("Enter your choice - heads/tails ->") For