You can accept Bitcoin, rocks, or rice as payment as far as the government of India or any of its agencies are concerned. It’s perfectly legal.

What’s NOT legal is to refuse payment in Rupees since it’s the legal tender.

That said, since Bitcoin is not a legal tender, accepting and making payments is a little bit painful since you’ll be paying capital gains taxes every time a transaction occurs.

For example, let’s say that a client owes you Rs. 20,000 for some job you did. You offered to take Bitcoin in payment. The price of Bitcoin as of writing…


Blockchain and Artificial Intelligence are two of the hottest technology trends right now. Even though the two technologies have highly different developing parties and applications, researchers have been discussing and exploring their combination.

By definition, a blockchain is a distributed, decentralized, immutable ledger used to store encrypted data. On the other hand, AI is the engine or the “brain” that will enable analytics and decision making from the data collected.

PwC predicts that by 2030 AI will add up to $15.7 trillion to the world economy, and as a result, global GDP will rise by 14%. According to Gartner’s prediction


The world of artificially intelligent assistants is growing — Siri, Cortana, Alexa, OK Google, Facebook M, Bixby — all the big players in technology have their own. However, many developers don’t realize that it’s quite easy to build your own AI assistant too! You can customize it to your own needs, your own IoT connected devices, your own custom APIs. The sky’s the limit. Today we are going to build our own AI Assistant using Api.ai.

What is Api.ai?

Api.ai is a service that allows developers to build speech-to-text, natural language processing, artificially intelligent systems that you can train up with your own…


Web framework of python.

Hello Everyone…

Earlier we had studied python3 and also we had done a hands-on practice of python, now after completing the python, we are starting the Django web framework. which is used to develop web applications, websites and many more. So today we are discussing some related topics of this here.

Topics we are covered today..

  • Client-server architecture.
  • HTTP.
  • Virtual environment & Packages.
  • Django.

Let’s start..

1. Client-server architecture.

Client/Server architecture is a network model designed for the end-users called clients, to access the resources such as songs, videos, etc from a central computer known as Server.

The central controller is known as…


Hello Everyone..

Today, we are going to do how we can identify the errors and how to control it. in python, we can call that exceptional handling, we can also discussing the DateTime module, how we can use it in the program and also we can go to discuss JSON.

The topics we can discuss today:-

  • Exceptional Handling.
  • DateTime Module.
  • JSON

Let’s Start..

1. Exceptional Handling.

  • An exception is an error that happens during the execution of a program.
  • An exception is an event, which occurs during the execution of a program that disrupts the normal flow of the program’s instructions.
  • An exception…

Hello Everyone…

Modular programming refers to the process of breaking a large, unwieldy programming task into separate, smaller, more manageable subtasks or modules. Individual modules can then be cobbled together like building blocks to create a larger application.

There are several advantages to modularizing code in a large application.

  • Simplicity.
  • Maintainability.
  • Reusability.
  • Scoping.

Functions, modules, and packages are all constructs in Python that promote code modularization.

Python Modules.

There are three different ways to define a module in Python.

  • A module can be written in Python itself.
  • A module can be written in C and loaded dynamically at run-time the re (regular…

Hello Everyone..

Earlier, we had done object-oriented programming in python, now you also know about inheritance in oop in python, inheritance has a different type so today we are going through with it.

Today we are going to discuss:-

  • Inheritance.
  • Multilevel Inheritance.
  • Multiple Inheritance.

Let’s Start..

1. Inheritance.

Inheritance enables us to define a class that takes all the functionality from a parent class and allows us to add more.

Inheritance is a powerful feature in object-oriented programming. It refers to defining a new class with little or no modification to an existing class. …


Hello Everyone…

As you know we are going on an advanced topic day by day in python. So today we are discussing object-oriented programming in python, it’s quite simple as in other programming languages.

Let’s Start.

Introduction to OOPs in Python

Python is a multi-paradigm programming language. Meaning, it supports different programming approaches.

One of the popular approaches to solve a programming problem is by creating objects. This is known as Object-Oriented Programming (OOP).

An object has two characteristics:

  • attributes
  • behavior

Let’s take an example:

A parrot is an object,

  • name, age, color are attributes
  • singing, dancing is behavior

The concept of OOP in Python…


Hello Everyone..

Today, we are discussing iterators and generators in python, how is it useful and how be can perform a different task in easily manner.

Let’s Start..

1. Iterators.

What are the iterators in Python?

Iterators are everywhere in Python. They are elegantly implemented within for loops, comprehensions, generators, etc. but hidden in plain sight.

Iterator in Python is simply an object that can be iterated upon. An object which will return data, one element at a time.

Technically speaking, Python iterator object must implement two special methods, __iter__() and __next__(), collectively called the iterator protocol.

An object is called iterable if we can get an iterator…


Hello Everyone.

Today, we are going to talk about regular expressions in python, how we can use it, for what the regular expression needed in python. and how much its importance in python.

Let’s Start..

Regular expressions are text matching patterns, described with a formal syntax. Referred to as ‘regex’ or ‘regexp’. These can include a variety of rules, for finding repetition. to text-matching.

The most commonly used operators that help to generate an expression to represent the required characters in a string or file.

A Regular Expression (RegEx) is a sequence of characters that defines a search pattern. …

Pankaj Singh Rathore

Data Scientist, Blockchain enthusiast, Entrepreneur.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store