vinaykhatri
Vinay Khatri

I am a Full Stack Developer with a Bachelor's Degree in Computer Science, who also loves to write technical articles that can help fellow developers.

vinaykhatri
Vinay Khatri 22 October, 2021

Python SyntaxError: Missing parentheses in call to 'print' Solution

In Python, to print a data value on the console, we use the print function. The print function acce…

vinaykhatri
Vinay Khatri 22 October, 2021

Python TypeError: object of type 'int' has no len() Solution

In Python, we have a len() function that returns the total number of characters and items present i…

vinaykhatri
Vinay Khatri 22 October, 2021

Python TypeError: slice indices must be integers or None or have an _…

With the help of Python slicing, we can access a sequence of items or characters from the List, Tup…

vinaykhatri
Vinay Khatri 22 October, 2021

Python NameError: name 'self' is not defined [Solved]

In Python, every class method's first parameter is "self". It is the instance of a cl…

vinaykhatri
Vinay Khatri 22 October, 2021

Python TypeError: a bytes-like object is required, not 'str' Solution

With the Python in operator, we can find whether or not a data object or item is present in a …

vinaykhatri
Vinay Khatri 22 October, 2021

Python List Methods: All you need to Know

The list is one of Python's built-in data structures. It is a mutable and ordered data structur…

vinaykhatri
Vinay Khatri 22 October, 2021

Python os.path.join Method a step by step Guide

os.path.join() is a method of os module in Python that can combine file or directory path names as …

vinaykhatri
Vinay Khatri 22 October, 2021

Python: How to Initialize List of Size N

Python list is a dynamic data type. It does not come with a syntax that limits its size. In static …

vinaykhatri
Vinay Khatri 22 October, 2021

Python TypeError: ‘NoneType’ object is not subscriptable Solution

The None value in Python has a data type of NoneType, that represents a Falsy value.  We gener…

vinaykhatri
Vinay Khatri 22 October, 2021

Python AttributeError: A Complete Guide

Attributes are the properties and methods defined for a class, object, or data type. In Python, eve…

vinaykhatri
Vinay Khatri 22 October, 2021

Python TypeError: object of type 'NoneType' has no len()

The len() is an inbuilt Python function that returns the total number of elements or characters pre…

vinaykhatri
Vinay Khatri 22 October, 2021

Python IndentationError: expected an indented block Solution

Like other programming languages Python also follow a strict syntax to write the code. In Python, w…