Math, asked by palsp4813, 11 months ago

I 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?

Answers

Answered by jaswindersingh1j
0

Answer:

we square it as 11,12,13,14 upto so on

Step-by-step explanation:

11=121,12=144

Answered by AditiHegde
0

Given:

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

To find:

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

Solution:

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

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

we need 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

Similar questions