0
can we assign no. to array if yes how
9 Answers
+ 1
Append.list(nr) I think. list is the name of the list. nr is a number or value, which you want to add to the list. The list you have to declare before. Something like list = [].
0
what Do you mean with no.? numbers?
0
means different number or string to a single letter such as a=[1,2,3,4]
0
with this You are assigning a List.
0
ya like that
0
well i dont think there are Arrays at all cause we have lists. and they Are quite more useful
0
List is the same as an array. Different (program) language so different word for the same thing.
0
thnx
0
I thought arrays are like strings though as they are both non-mutable, lists are mutable.