Menu Close

Month: December 2020

Seconds to Days Hours Minutes

Develop a program that begins by reading a number of seconds from the user. Then your program should display the equivalent amount of time in…

Relational operator Question

Chef has started programming. He is reading about relational operators. Relational operators are operators which check relationship between two values. Given two numerical values A…

Alphabet pyramid

Learn how to print half pyramids using “Alphabet”. Write a program using “for” loop. Get the integer value as input and print half pyramid using…

Prime Factor

Python Program to Compute Prime Factors of an Integer Input:        Enter the number: 3999Output:        3        31 …

Identify pH level

pH stands for “power of Hydrogen(H)”A simple program.Write a Python Program to identify pH Level Name using the following condition.Ph <7.0 acidic Ph>7.0 basicPh=0 neutralA…

Find the Perfect Number

In number theory, a perfect number is a positive integer that is equal to the sum of its positive divisors, excluding the number itself. For…