1. Write a program to generate a series of float numbers from 41.0 to 60.0 with an increment of 2.5 each.

Solution :- 

import pandas as pd

import numpy as np

n = np.arange(41,60,2.5)

s = pd.Series(n)

print(s)