Krishna
  • Krishna

  • Believes in infinitesimal small + change!
  • India
  • Joined Jan 2020

Total Posts (32)

Python Strings

Python Strings

In a previous article, we discussed several Python data types - int, float, str, etc.

One of the most used data types is a string. It has made text very easy to …

  Read more
TypeError: unsupported operand type(s) for +: 'int' and 'str'

TypeError: unsupported operand type(s) for +: 'int' and 'str'

The error is self-explanatory--it can't add integer type to string type. In this article, we'll write various reprex(Reproducible Example) that throws the same error and see how to fix it.

Example of …

  Read more
Type Conversion in Python

Type Conversion in Python

In a previous tutorial, we discussed data types. In this article, we'll see how to change the data type of an object. Python is a dynamically typed language. That means we don't need to …

  Read more
The volume boot has only x MB disk space remaining

The volume boot has only x MB disk space remaining

If you're seeing following warning

It is mostly because you've old Linux kernels piled up in /boot directory. If you're wondering that you never specifically downloaded and installed the new kernel, then you should watch …

  Read more
Python Built-in fuctions

Python Built-in fuctions

Here are the list of all built-in functions provided in Python version 3.8.

Function Description
abs() Returns the absolute value of a number
all() Returns true if all elements of the iterable are true
any() …
  Read more
Python Operators

Python Operators

In a previous tutorial, Python as a Calculator, we discussed very basic operators like add, subtract, multiply, divide, floor divide, etc. But that’s not the end. Let’s briefly define what’s operator and operand.

Operator …

  Read more
Python Data Types

Python Data Types

In the last article, we discussed variables, and how to use them. Knowing about data type is important before you start operating with data.

It helps us understand which in-built method and operator can …

  Read more
Python keywords

Python keywords

There are certain reserved words defined in every language, where every word has some functionalities associated with it. The functionalities and keyword are decided by the language designers and creators.
In Python 3.8, there are …

  Read more
Python Variables

Python Variables

In the last article, we saw how to use Python as a calculator. Let’s suppose, we want to convert Kilogram to Pound. So, we’ve to multiply given kg with 2.20462. But don’t you think …

  Read more
Python as a Calculator

Python as a Calculator

Did you know Python can be used as a calculator? Though every operating system comes with a calculator, its functionality is not advanced enough to match Python’s computation ability. Let’s go through-

Basic Operator 

Add( …

  Read more