A positive integer is called a palindrome if its representation in the decimal system is the same when read from left to right and from…
A scientist has created a writing bot, which will read from one book and write into another. Both books may have different dimensions.i.e. number of…
N=int(input(“Enter the N number: “)) or you can use N=list(map(int,input(“Enter the N number: “).split())) you can use:N=list(map(int,input(“Enter the N number: “).split())) we will get Input/output…
A string S of lowercase English letters is given.We want to partition this string into as many parts as possible so that each letter appears…
Most years have 365 days. However, the time required for the Earth to orbit the Sun is actually slightly more than that. As a result,…
Input: Number1: 4 Number2: 3Ouput: Lcm of two numbers is 12 More Codes to Fcuk
Input: Get three integers of positive as well as negative.Output: Prints the greatest integer.This program can also be used for N number of inputs Input: …
Python Program to Find the Gravitational Force Acting Between Two Objects.Input: First Line :Value of first mass Second Line:Value…
Given that represents elements of geometric progression in order.One element is missing in progression, find the missing number. It may be assumed that one term…
GCD Grestest Common Divison,GCD and HCF are same, only the name differs. Input: Enter a Number1: 30 Enter a Number2: 250Output: …
Python program to convert a given float number to integer More Codes to Fcuk
Program to print Fibonacci series up to given n numbers. Input: Enter n Number: 10Output: 0 …
Given two integers L and R, find the count of numbers in the range [L, R] (inclusive) having a prime number of set bits in…
Write an algorithm to determine the encryption key.The input consists of an integer – numMessage, representing the numeric form of the message.The Output prints an…
Given an array numbs of integers, you can perform operations on the array. If each operations, you pick any nums[i] and delete it to earn…
Chris was given a task by his friend rajesh. When rajesh tells a number then chris needs to convey the value in binary, octal, hexadecimal…
Calculate the cube root of the user input by using python program.Input: Get the integer number as input. Output: Print the cube root of the…
Program to Read a number n and Compute n+nn+nnn Output:Enter any number: 5155 Output:Enter any number: 101110 Output:Enter any number: 55169455 Output:Enter any number: 66291918…
Python Program to Accept Three Digits and Print all Possible Combinations from the Digits. INPUT_1: 1 5 2OUTPUT: …
The following table lists an octave of music notes, beginning with middle C, along with their frequencies. Note Frequency (Hz) C4 261.63. Begin by writing…