Answers for "python array with string"

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 array with string"

Python Answers by Framework

Browse Popular Code Answers by Language