Answers for "python create a string array"

2

create an array string using for in python

a = ["a_" + str(i) for i in range(10)]
print(a)
Posted by: Guest on July-24-2021

Code answers related to "python create a string array"

Python Answers by Framework

Browse Popular Code Answers by Language