python

Python program to add items to a list without append() in 3 ways

Three different ways to add items to a Python list without using the append() method. We will learn how to add items to a list with the + operator, by using the extend() function and with list slicing.

Read
dart

How to multiply strings in Dart

We can use the multiplication operator * to multiply strings for n number of times in Dart. In this post, I will show you how to use the multiplication operator.

Read
dart

Dart program to find the hash value of a string

Dart program to find the hash value of a string. Dart string provides a property called hashCode that returns the hash value of a string.

Read
dart

Dart program to round a number to its nearest value

Dart program to round a number to its nearest value. Dart provides round() method in its Number class to round a number.

Read
dart

Dart program to find the absolute value of a number

Dart program to find the absolute value of a number. We can use Number.abs method to find the absolute value of a number.

Read
java

Java program to find the absolute value of a number

Java program to find the absolute value of a number. We can use Math.abs method to find the absolute value of a number.

Read
java

Find the largest number from an array in Java

Java program to find the largest number that can be formed from an array of numbers. The program will take the numbers as input from the user.

Read
python

Python program to check if the characters in a string are sequential

Python program to check if the characters in a string are in sequential order. We will write one python program that will use a function to do that.

Read
python

How to find the relative path of a file in python

Python program to find the relative path of a file. Using python os module, we can find the relative path of a file in python.

Read
python

How to find all running processes using python

We can find all running processes in python using psutil package. This post will show you how to find and list down all running processes in python.

Read