我有一个大约20个要放入数组的名称的列表

时间:2019-03-10 23:16:55

标签: python arrays

这是列表:

Annie the Afgan Hound
Bertie the Boxer
Betty the Borzoi
Charlie the Chihuahua
Chaz the Cocker Spaniel
Donald the Dalmatian
Dottie the Doberman
Fern the Fox Terrier
Frank the French Bulldog
George the Great Dane
Gertie the Greyhound
Harry the Harrier
Ian the Irish Wolfhound
Juno the Jack Russell
Keith the Kerry Blue
Larry the Labrador
Marge the Maltese
Max the Mutt
Nutty the Newfoundland
Olive the Old English Sheepdog
Peter the Pug
Poppy the Pekingese
Rosie the Rottweiler
Ruby the Retriever
Sam the Springer Spaniel
Sukie the Saluki
Vernon the Vizsla
Whilma the West Highland Terrier
William the Whippet
Yolande the Yorkshire Terrier

我想得到这个:

array1 = ["Annie the afghan hound","etc"]

有人可以帮忙吗?

0 个答案:

没有答案