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

arrays python

array = [1, 2, 3, 4]

array.append(5)

for i in array:
  print(i)
Posted by: Guest on October-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language