Arrow functions in JavaScript
Arrow functions were introduced in ES6 (a version of JavaScript). The arrow functions have different syntax for creating JavaScript functions. The arrow function syntax is a bit shorter as it…
Arrow functions were introduced in ES6 (a version of JavaScript). The arrow functions have different syntax for creating JavaScript functions. The arrow function syntax is a bit shorter as it…
In this article you learn what is difference between const vs let. You will learn what are they and how to used them. var creates a variable in JavaScript. But…
In this article you learn what is difference between var, let, const. You will learn what are they and how to used them.var creates a variable in JavaScript. But some…
Unpacking is a powerful feature in python. Using python tuple unpacking you can assign right-hand side values to the left-hand side. Using unpacking you can assign values in tuples to…
Unpacking is a powerful feature in python. Using python list unpacking you can assign right-hand side values to the left-hand side. Using unpacking you can assign values in the list…
In this article, you will learn what are 2D lists in python and how to create, access, and add the new list into them. If you don’t know what are…
In this tutorial you will learn how to use conditions using if in python. You will also learn how to use elif and else statements in python. If in python…
Dictionary in python is used to store information in formats of key-value pairs. Dictionaries are defined using {}. keys in dictionaries must have to be unique. Values in dictionaries can…
Tuples are used to store a list of items. Tuples are defined using parenthesis. Tuples are immutable. This means that tuples cannot be modified. Only information can be accessed about…
Lists in python are used to store a collection of values. Example: Output: [‘John’, ‘Jane’, ‘Jack’, ‘Jim’] Accessing the lists: You can access item from list by passing its index…