Answers for "python generate 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 generate string array"

Python Answers by Framework

Browse Popular Code Answers by Language