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

Python Answers by Framework

Browse Popular Code Answers by Language