Nested lists example python

Nested lists  example python

Output:

5
Harry
37.21
Berry
37.21
Tina
37.2
Akriti
41
Harsh
39

[['Akriti', 41.0], ['Berry', 37.21], ['Harry', 37.21], ['Harsh', 39.0], ['Tina', 37.2]]

Implementation: