Python program to find the gcd of two numbers using fractions module

Python fractions module provides support for rational number arithmetic. It comes with one method for calculating gcd of two numbers easily.In this tutorial, we will learn how to calculate the gcd of two numbers using fractions module. The user will input both numbers and the program will calculate and print the gcd of the numbers.

Read

Python program to convert character to its ASCII value

In this tutorial, we will learn how to find the ASCII value of a character in python. The user will enter one character and our program will print the ASCII value.

Read

Python program to print all combinations of three numbers

In this python programming tutorial, we will learn how to print all combinations of three different numbers. The program will take three numbers as input from the user and print out the possible combination of the three numbers.

Read

Java program to clear a vector or delete all elements of a vector

In this post, we will learn how to clear a vector in Java. A vector is like a dynamic array in Java. It doesn't have any fixed length. We can add as many items as we want to a vector.

Read

C program to print the ASCII values of all lowercase characters

ASCII or American Standard Code for Information Interchange is used to represent a letter, number and other characters in integer form. There are 256 values starting from 0 to 255. In this C tutorial, we will learn how to print the ASCII values of all lowercase characters using a C program.

Read

Kotlin program to check if a string contains another substring

In this kotlin programming tutorial, we will learn how to check if a substring exists in another string or not. The program will take the strings as input from the user and print out the result.

Read

Java program to check if a number is a buzz number or not

In this java buzz programming tutorial, we will learn how to check if a number is buzz or not.

Read

Python Set pop() method explanation with example

Python set pop method is used to remove an element from a set and returns it. It removes a random element. For example :.

Read

Java string intern method explanation with an example

Java string intern() method is one of the important methods of String class. This method returns an interned string or canonical representation of a string.

Read

How to find the md5 hash of a string in python

Hash calculation is one of the most used cryptographic function. Hash is used to checking the checksum of a file, password verification, fingerprint verification, build caches of large data sets etc.

Read