Questions: 5 831

Answers by our Experts: 5 728

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Math Quiz:


The first line input space-seperated integers.

the second line input is positive integer M denoting the number of index ranges

The next M lines contains two space-seperated integers of the range.


explanation: 1 2 2 3 3 3 4 5 6

2

0 2

1 4

output:

1+2+2=5

1+2+2+3+3+3+4=18


input:

1 2 2 3 3 3 4 5 6

2

0 2

1 4

output:

5

18

input:6 6 14 20 8 -2 2 -3

4

1 2

2 5

3 6

0 4

output:

2

2

12

2




1-Choose your types of list as follows: Plants, Animals, Cities,

Countries, Football Teams, Classmates, Customers, Chemical elements, etc.



2-Draw flow chart and write python program in according to

following instruction:



*Add elements to your list.



*Remove element from tour list.



*Edit element on your list.



*Sort your elements.



*Print one element from your list.



*Print all of the elements from

your list.




Add two polynomials:




Given two polynomials A and B, write a program that adds the given two polynomials A and B.




Output:




Print the addition of polynomials A and B.




The format for printing polynomials is: Cix^Pi +Ci-1x*Pi-1t +C1x + CO, where Pi's are powers in decreasing order, Ci is co-efficient and CO is constant, there will be space before and after the plus or minus sign.If co-efficient is zero then don't print the term.If the term with highest degree is negative, the term should be represented as -Cix^Pi.For the term where power is 1 represent it as C1x instead of C1x^1.




If the degree of polynomial is zero and the




constant term is also zero, then just print 0 to represent the polynomial.




For term Cix°Pi, if the coefficient of the term CI is 1, simply print x*Pi instead of 1x^Pi.





Sample Input




4




05




10




2 10




3 6




3




01




12




24




Sample Output




6x3 + 14x^2 +2x + 6




O









Create a program with two methods, one method for displaying your full name and the


other method displays your address.



I am Carla May Laput and my address is 067, Purok Bougainvilla, Larayan Dapitan City 7101

Create a program that contains two methods, one for displaying all even numbers from 1



to 10 and the other one displays all odd numbers from 1-10.

Armstrong number between two intervals


combined right angled triangles pattern:

you are given n. print n rows starting from 1 after combining two inverted-right-angled triangles pattern as shown in the output of the given example

explanation : 1st inverted right angled triangle pattern

1 2 3 4

5 6 7

8 9

10

2nd inverted right angled triangle pattern

17 18 19 20

14 15 16

12 13

11

combined pattern

1 2 3 4 17 18 19 20

5 6 7 14 15 16

8 9 12 13

10 11

input : n=4

output:

1 2 3 4 17 18 19 20

5 6 7 14 15 16

8 9 12 13

10 11

input: 5

output:

1 2 3 4 5 26 27 28 29 30

6 7 8 9 22 23 24 25

10 11 12 19 20 21

13 14 17 18

15 16


2 6 3 1 8 12 2 9 10 3 4

find mean,median,mode


how would one say a number is closer to another number than a another number if u know what I mean





Like say we have...







X






We wanna see if





X





Is closer to y





Or closer to w

Given an integer input 1 and input 2 prime encoder function returns an integer array


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS