top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Python: Difference between List and Array in python ?

0 votes
413 views
Python: Difference between List and Array in python ?
posted Apr 16, 2016 by Ganesh Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

As per my knowledge, there is no concept of array in python. It will be list only and list is declared by using the [ ] brackets.
If list contains same type of data elements can be considered as an array. List can contain different type of data elements.

answer Apr 16, 2016 by Harshita
Similar Questions
0 votes

Both the functions gives same output

str(18)
'18'

repr(18)
'18'

What differences these two functions have in term of functionality and in whic scenarios these two functions are used ?

...