Latest
Check If a Value is a Number Not a String in Python
October 26, 2021To check a value is a number data type in Python and not a string, we can use the Python type() function with some logic...
How to Check if a Number Is or Is Not an Integer in Python
October 26, 2021How to Get Only CSRF Token Value in Django
October 25, 2021How to Open Django Error Log File (And Configure)
October 20, 2021if not in list Python
October 13, 2021To check if a value is not in a list in Python, we can write an if statement using a not in expression like this: i...
Python: Capitalize the Beginning of Every Word in a String
October 13, 2021In this tutorial, we will learn how to capitalize the first character of every word in a string in Python. Capitali...
How to Comment in Django Templates
October 01, 2021In many cases, it makes more sense to comment out code in Django templates so it does not render on the front-end in tem...
Calculate Euclidean Distance in Python
October 01, 2021In math, the Euclidean distance is the shortest distance between two points in a dimensional space. To calculate th...