List in Python

In this tutorial, we will learn about List in Python. The list is similar to arrays except one difference List can contain a heterogeneous type of data(Integer, Strings and Object) in a single list. In list, we add list element according to the index number. The first element of the list will always save on 0

List in Python Read More »

Operators in Python

In this tutorial, we will learn about Operators in Python. Operators are special symbols which normally use to perform some special task in the program. For example, you want to add two number. Here we will use + operator to add two numbers or you want to assign value to a variable. Here we will use

Operators in Python Read More »

Variables and Data Types

In this tutorial, we will learn about Variables and Data Types in Python. If you have ever learned any programming language than you would have a clear idea about variables and data types. But for those who never learn any programming language before, Variable like containers that contain values and values can change throughout the program. For

Variables and Data Types Read More »

Hello World Program

In this tutorial, we will learn how to write a basic hello world program in Python. You may hear from a lot of Python developers that Python is much easier than other programming languages such as Java C++ or swift and that is true. If you ever wrote Hello World program in any other program

Hello World Program Read More »

Introduction to Python

In this tutorial, we will learn an introduction to the Python language. Python is a high-level, interpreted and high-level programming language. It is so easy to learn because you would find a lot of English keywords in it. The first time Python was introduced by Guido Van Rossum in 1989. The current version of Python

Introduction to Python Read More »

Try expression in Kotlin

The Try can be also used as Try expression in Kotlin. The Try expression returns the last expression of try block or last expression of catch. The finally block working doesn’t get affected in Try expression. To understand Try expression is Kotlin please check out the following example program. Example Program without Exception: fun main(args: Array<String>){ val str =

Try expression in Kotlin Read More »

Try Catch block in Kotlin

In the last tutorial, we have learned about Exception and this tutorial we will learn how we can prevent our code from throwing exceptions. One of the powerful a method to handle exceptions in Kotlin is Try-Catch block in Kotlin. The try block is followed by the catch and finally blocks. In this catch and finally blocks,

Try Catch block in Kotlin Read More »

Exception Handling in Kotlin

In this tutorial, we will learn about Exception Handling in Kotlin. According to the dictionary, the word exception means abnormal and Here Exception handling means to solve abnormal situations which occur while the execution of code. During the execution of the program due to several reasons such as wrong input, or some programming mistakes, the program

Exception Handling in Kotlin Read More »

×