python

python

How to convert hours to seconds in Python

Learn how to convert hours to seconds in Python. It will take the hours value as input from the user and convert it to seconds.

Read
python

How to convert a date to ISO8601 format in python

Python program to convert a date to ISO8601 format. isoformat() method is provided to convert a datetime object to ISO8601 in android.

Read
python

Python program to find the nth number which is square and cube of another number

Python program to find the nth number which is square and also cube of another number. Print all numbers from 1 to n which are square and cube of another number.

Read
python

Python program to convert key-value string to dictionary

Python program to convert a key-value string to a dictionary. We will learn how to do that by using split and by using map in python.

Read
python

Python program to count total repeating digits in a number

Python program to count the total number of repeating digits in a given number. We will learn two different ways to solve this problem.

Read
python

Python program to count total digits in a string in four ways

Python program to count digits in a string. We will learn how to do that by using a loop, using sum(), using map() and using regular expression.

Read
python

Python program to check if a series is Geometric progression

Learn how to check if a series is Geometric progression or GP or Geometric series in Python. This program will take one array and print one boolean value based on the input array.

Read
python

How to print Geometric progression or GP in python

Python program to print geometric progression, GP or Geometric series. This program will take the values as inputs from the user and print the series.

Read
python

Python program to check if a series is Arithmetic progression or not

Write a python program to check if a series is Arithmetic progression/AP/Arithmetic series or not. It will take one series as input and print the result.

Read
python

Python program to print Arithmetic progression series

Write a python program to print arithmetic progression series. It will take the start value, d, and total numbers and print that series.

Read