Write a program to find the sum of odd numbers, even numbers and negative numbers. Exec. on linux Morae!Q!
We want to estimate the cost of the painting a property.Interior wall painting cost is Rs.18 per square feet and exterior wall painting cost is…
Write a program to read a positive integer and find the sum of squares of individual digits. Input:Enter a positive integer: 8974Output:210 Exec. on linux…
Create a program to print the given series up to first n digits.Refer sample input and output.The given series is: 1 1 2 6 24…
You are standing at position 0 on an infinite number line.There is a goal at position target. On each move, you can either go left…
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…
Write a python program to remove add “Hyphen” character in the entered string. Or can add any other than a Hyphen. Input: …
Input: Enter any sentence: fcukthecode Enter the index value: 0Output: cukthecode Exec. on linux Morae!Q!
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…
You are given n inputs and two numbers x and y. Check whether all the given numbers lies in range of x and y. (x…
Write a program to find the Armstrong numbers between the given range.Input 1:Lower RangeInput 2: Upper rangesxss SampleInput_1: Enter the lower range: 1000 …
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…
Write a program to find prime numbers between two range excluding the starting and ending number of given range Input 1: Lower Range Input 2:…
Python Program to Compute Prime Factors of an Integer Input: Enter the number: 3999Output: 3 31 …
Input: Positive and negative numbers Output: Display Sum of positive even numbers INPUT_1: Enter the N number: 7 Enter…
An integer interval [a,b] (for integers a < b) is a set of all consecutive integers from a to b, including a and b. Find…
The country A has 50M inhabitats and its population grows 3% per year. The country B, 70M and grows 2% per year.The above is just…
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…
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…
Write a program to find out if a word is a palindrome or notPalindrome for words Input: Enter a word: kawakOutput: …