0

How arrys are used in python

31st Jul 2019, 6:07 PM
Chitra Reddy Chitra
Chitra Reddy Chitra - avatar
3 odpowiedzi
0
We don't have built-in arrays in python but instead lists are used as array. List example: a = [1, 'a', 'hello', 7] You can access list by using square brackets: print( a[2] ) Output: hello To know more about lists and its functions follow the link below. :) https://www.w3schools.com/python/python_lists.asp
31st Jul 2019, 6:27 PM
Muhammad Shehzad
Muhammad Shehzad - avatar
31st Jul 2019, 6:25 PM
Paolo De Nictolis
Paolo De Nictolis - avatar