adding of two polynomials programs in python
can you please take out the half name of your full name by index method
First Perfect Square
Given two integers (M and N), write a program to print the first perfect square in a given range.Input
The first line of input will contain a positive integer (M).
The second line of input will contain a positive integer (N).Output
The output should be a single line containing the first perfect square in a given range.Explanation
For example, if the given numbers are M is 4 and N is 16, the perfect squares from 4 to 16 are 4(2 * 2), 9(3 * 3), and 16(4 * 4), as the first perfect square is 4. So the output should be 4.
Sample Input 1
4
16
Sample Output 1
4
Sample Input 2
5
8
Sample Output 2
No Perfect Square
Can you identify if Cody's name is spelled right? If so, then make a program that accepts four one-letter strings separated by space and print "Correct" if the inputted strings, combined in order, spell the name Cody correctly. If not, print "Wrong". It doesn't matter if it's in uppercase or lowercase, as long as it's spelled correctly, it's considered correct.
Now, will you take on this task?
5. String[1] Check
by CodeChum Admin
As long as you haven't forgotten about indexing, you'll be just fine.
Instructions
Input three strings in different lines.
Print out "Same" if all of their 2nd characters are the same, else print out "Not the Same".
Input
Three lines containing a string on each.
Cry
Priest
Fry
Output
A line containing a string.
Same
3. Sum Cubes
by CodeChum Admin
The square of an integer refers to the result of multiplying the integer with itself once. While the cube of an integer refers to the result of multiplying the integer with itself twice. As long as you know that, you could easily solve this!
Instructions:
Input three integers and compute the cubes of each of them.
Check if the sum of the cubes are positive. If it is, print out "Positive", and if not, print out "Negative".
Instructions
Input three integers (negative, positive, or zero) and compute the cubes of each of them.
Check if the sum of the cubes are positive. If so, print out "Positive", and if not, print out "Negative".
Input
A line containing three integers separated by a space.
1 2 3
Output
A line containing a string.
Positive