Vikram Chiluka has Published 288 Articles

How would you make a comma-separated string from a list in Python?

Vikram Chiluka

Vikram Chiluka

Updated on 24-Aug-2023 15:03:30

47K+ Views

In Python, a list is an ordered sequence that can hold several object types such as integer, character, or float. In other programming languages, a list is equivalent to an array. Square brackets [] are used to denote it, and a comma (, ) is used to divide two items ... Read More

How to check if a list is empty in Python?

Vikram Chiluka

Vikram Chiluka

Updated on 23-Aug-2023 13:12:10

55K+ Views

In Python, a list is an ordered sequence that can hold several object types such as integer, character, or float. In this article, we will show you how to check if the given input list is an empty list or NOT using python. Below are the 5 methods to accomplish ... Read More

How to convert Python Dictionary to a list?

Vikram Chiluka

Vikram Chiluka

Updated on 23-Aug-2023 13:02:48

93K+ Views

In this article, we will show you how to convert a python dictionary to a list. Below are the methods to accomplish this task: Using list & items() Method Using keys() Method Using values() Method Using List Comprehension Using Zip() Function Using map() Function Using for loop & ... Read More

How to remove an element from a list by index in Python?

Vikram Chiluka

Vikram Chiluka

Updated on 23-Aug-2023 13:01:13

95K+ Views

In this article, we will show you the remove an element from a list by index using Python. Here we see 4 methods to accomplish this task − Using the del keyword to remove an element from the list Using the pop() function to remove an element from the ... Read More

How to get the last element of a list in Python?

Vikram Chiluka

Vikram Chiluka

Updated on 23-Aug-2023 12:55:56

78K+ Views

In this article, we will show you how to get the last element of the input list using python. Now we see 4 methods to accomplish this task − Using negative indexing Using slicing Using pop() method Using For loop Assume we have taken a list containing some ... Read More

What are compound data types and data structures in Python?

Vikram Chiluka

Vikram Chiluka

Updated on 23-Aug-2023 03:39:55

3K+ Views

In this article, we will explain what are the compound datatypes and data structures in python. Variables have so far only stored one value. What if we wish to save many related values? We could simply create distinct variables for each. But what if we don't know how many values ... Read More

What is the scope of a career for a Python developer?

Vikram Chiluka

Vikram Chiluka

Updated on 04-Apr-2023 14:22:17

621 Views

In this article, we will explain what is the scope of a career for a python developer. Python is not only one of the most popular programming languages in the world, but it also has the most interesting employment chances. Every year, the demand for Python developers grows. There is ... Read More

How to calculate absolute value in Python?

Vikram Chiluka

Vikram Chiluka

Updated on 14-Feb-2023 10:04:35

8K+ Views

In this article, we will show you how to calculate the absolute value in python. Below are the methods to accomplish this task: Using User-Defined Function (Brute Method) Using abs() function Using math.fabs() function The magnitude of a number, whether positive or negative, is referred to as its ... Read More

Python Program to Convert Singular to Plural

Vikram Chiluka

Vikram Chiluka

Updated on 01-Feb-2023 20:12:54

3K+ Views

In this article, we will learn a Python Program to Convert Singular to Plural. Assume you are given a singular word and we must convert it into plural using the various python methods. Methods Used The following are the various methods to accomplish this task − Using the regex ... Read More

Matrix and linear Algebra calculations in Python

Vikram Chiluka

Vikram Chiluka

Updated on 01-Feb-2023 20:10:57

609 Views

In this article, we will learn Matrix and linear Algebra calculations in Python such as matrix multiplication, finding determinants, solving linear equations, etc. A matrix object from the NumPy library can be used for this. When it comes to calculation, matrices are relatively comparable to the array objects Linear Algebra ... Read More

Advertisements