Math, asked by VishnuLuke54001, 1 year ago

Have a list sample_data = [1,2,3,4,5,6,7,8,9,10], and i want [1,4,9,16,25,36,49,64,81,100] from it. What should be the possible solution? Select one: sample_data.Squared square(sample_data) sq(sample_data) sqaure(sample_data)

Answers

Answered by poona2339
1

Answer:

The correct answer is sample_data.Squared.

Step-by-step explanation:

Given

sample_data = [1,2,3,4,5,6,7,8,9,10]

To find

[1,4,9,16,25,36,49,64,81,100]

Step 1

In order to acquire[1,4,9,16,25,36,49,64,81,100] from the stated,

list sample_data = [1,2,3,4,5,6,7,8,9,10]

we require to use:

sample_data.Squared

as, we get,

1² = 1

2² = 4

3² = 9

4² = 16

5² = 25

6² = 36

7² = 49

8² = 64

9² = 81

10² = 100

Hence, The correct answer is sample_data.Squared.

#SPJ3

Answered by syed2020ashaels
0

Answer:

The sample_data.Squared is the solution

Step-by-step explanation:

The list of sample data given to us is [1,2,3,4,5,6,7,8,9,10] and we want [1,4,9,16,25,36,49,64,81,100].
So

1^{2} = 1\\2^{2} = 4\\.\\.\\.\\.\\10^2 = 100
Hence it should be square of the sample data

Similar questions