Write a python code to create the series(S1) by using indices ranging from 10 to 20 at an interval of 2 and data ranging from 100 to 500 at an interval of 100.(using range function) Display the created series.

Answer :

Answer:

Here is the Python code to create the series (S1) as per your request:

```python

# Creating the series S1 using range function

indices = list(range(10, 21, 2))

data = list(range(100, 501, 100))

S1 = dict(zip(indices, data))

# Displaying the created series

print(S1)

```

This code will generate the series (S1) with indices ranging from 10 to 20 at an interval of 2 and data ranging from 100 to 500 at an interval of 100.