How to Configure Visual Studio Code for Python Development

Content What is Visual Studio Code Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages and runtimes (such as C++, … Read more

Division(/) vs Floor Division(//) Operators in Python

In Python, we have two division operators: / and // The / is called normal Division operator and // is called Floor Division operator. The Division (/) operator returns a fractional number whereas Floor Division(//) operator  rounds off the result to the nearest lower whole number. Example: Output: 6.5 Output: 6 Output: -6.5 Output: -7