Where can i use lists datatype in python to create a program.. | Sololearn: Learn to code for FREE!
+ 3

Where can i use lists datatype in python to create a program..

4th Aug 2017, 5:50 AM
Abhishek Verma
Abhishek Verma - avatar
2 odpowiedzi
+ 7
Lists is a collection of data so if you wanna store data and manipulate lists are handy. Example: If you wanna use a class scores and do operations store thwm in a list. You can find average (sum/len), median(sorted(list)[len/2], etc.
4th Aug 2017, 9:20 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
Anywhere ! list is a default data type of python
4th Aug 2017, 9:17 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar