Fibonacci series in python
Python | Fibonacci series This is an example of how to print the Fibonacci series. It takes an input number from the user to print the Fibonacci series. The Fibonacci series is a sequence of …
Initialize a local Git repository
Git init | Initialize a local Git repository The git init command creates a new Git repository in local. This is usually the first command you will run before working on a new project. git …
What are cookies in PHP?
PHP | What are cookies in PHP? A cookie is a small piece of information store by the browser on the client location and sent to the server with every request. It stores a limited amount …
Django create query set
Django | Insert record in database using create() function create() create(**kwargs) Create function create a new object with the given `kwargs`, saving it to the database and returning the created object. It creates an object …
Factorial program in python using recursion
Python | Program to find factorial of a number using recursive function This is an example of how to find the factorial of a number in python using a recursive function. The factorial of a …
What is tag in HTML?
HTML | Basic tags A tag is a string in the language enclosed in angle brackets. An opening tag does not begin with a slash (/). An ending or closing tag is a string that …
How can we know the number of days between two given dates using MySQL?
DATEDIFF function is use for finding the number of days between two given dates using MySQL DATEDIFF(‘2018-03-07′,’2017-01-01’)
What is HTML Elements
HTML | What is HTML Elements HTML elements help to create a webpage. It consists of a start tag, some content, and an end tag. Everything from the start tag to the end tag …
Python program for bubble sort
Python | Bubble sort program Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are not in the right order. This is an example for bubble sort …
Give an example of Transaction with commit and rollback?
PHP-MySQL | Transaction with commit and rollback try { // First of all, let's begin a transaction $db->beginTransaction(); // A set of queries; if one fails, an exception should be thrown which we are handling at …
Why is Django called a loosely coupled framework?
Django | Loosely Coupled Framework Django is called a loosely coupled framework because of its MVT architecture, which is a variant of the MVC architecture. It helps in separating the server code from the client-related code. Django’s …
What is the difference between JavaScript and JQuery
JQuery | Difference between JavaScript and JQuery Javascript is a client-side scripting language whereas jQuery is a library (or framework) built with JavaScript. Javascript JQuery javascript is a dynamic and interpreted client-side scripting language …
What does an x = y or z assignment do in Python?
If bool(a) returns False, then x is assigned the value of b.
Add desktop icon windows 10
Windows | Add desktop icon windows 10 1. Right-click on the desktop and click on Personalization 2. Under Personalization > Themes > Related Settings, select Desktop icon settings. 3. Choose the icons you would like to have on your …