What is PEP 8?
PEP stands for Python Enhancement Proposal. A PEP is an official design document that describes new features proposed for Python and documents aspects of Python, like design and style, for the community. PEP 8 exists to …
What is an Interpreted language?
Interpreted language An Interpreted language executes its statements line by line. Languages such as Python, Javascript, R, PHP, and Ruby is a prime examples of Interpreted languages. Programs written in an interpreted language runs directly from …
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 …
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 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 …
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 …
Django rest framework authentication error “ TypeError: 'type' object is not iterable ”
Django rest framework authentication error “ TypeError: 'type' object is not iterable ” This error comes because "authentication_classes" expecting an iterable(list/tuple) but somehow it is getting something else. So it needs to check a few …
Django migration error : TypeError expected string or bytes-like object
Django I Migrate Error: TypeError expected string or bytes-like object "TypeError: expected string or bytes-like object", says the value we have provided for updating the field for the model is not supported. So to resolve this issue …
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 …
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 …
Factorial program in python
Python | Program to find factorial of a number This is an example of how to find the factorial of a number in python. The factorial of a number is a product of all the positive …
How to define an empty class in python
Python | Create an empty class In python, it required adding a pass statement to define an empty class. The pass is a special statement in python that does nothing. It just works as a dummy statement. …
Program to check palindrome in python
Python | Check whether the given value is palindrome or not This is an example of how to check whether the given value is palindrome or not. It takes input from the user to check …
Program to check prime number in python
Python | Check whether the given number is a prime number or not This is an example of how to check whether the given number is a prime number or not. It takes an input …
Print Triangle pyramid pattern in python
Python | Print Triangle pyramid pattern This is an example of how to print the Triangle pyramid pattern. It takes an input number from the user to print the number of rows for the pattern. n …