CBSE BOARD XII, asked by Vasukanigiri3747, 5 months ago

Given are two objects, a lst object namely lst1 and a series object namely ser1, both are having similar values, i.e., 2,4,6,8 . Find out the output produced by following statements.
a. print(lst1*2) b. print(ser1 *2)

Answers

Answered by wajahatkincsem
0

Thye outputs produced by the statement (i) and statement (ii) are given below.

The output produced by given statement (i) will be:

[2, 4, 6, 8, 2, 4, 6, 8]

The output produced by given statement (ii) will be:

0    4

1    8

2   12

3   16

Where 0, 1, 2, and 3 are the indexes.

What is the difference between output and input?

  • In mathematics, there are two types of variables and the one that goes into the function is called input variable and that comes out of the function is called output variabe.
  • All the variables are arranges in a table that shows the relationship beween the numbers.

Learn more about

What is an index? What are the Laws of Indices?

https://brainly.in/question/4729775

Similar questions