array of strings source code?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

array of strings source code??

7

6th Jul 2016, 6:32 PM
naveen panjala
naveen panjala - avatar
2 Answers
+ 2
in python you use lists, and an element of the list can be integer, double, string, an other list, a dictionary, a set, so you can access them simply the same way, by their index, or you can use string methods.
4th Nov 2016, 3:31 PM
Benedek Máté Tóth
Benedek Máté Tóth - avatar
+ 1
arr=["string","more","and more strings"] or arr=[["string"],["another"]] output arr[0]=string arr[1]=more or arr[1][0]=a arr[1][1]=n arr[1][2]=o ...
6th Jul 2016, 7:00 PM
Evcheto Novakova
Evcheto Novakova - avatar