Answers for "python create list of strings"

2

how to make a list string in python

n = ["Hello"," I'm " , "12" , " Years Old "] # Our list
String = "" # Our string
for x in n :
    String += x
    
print(String) #Prints it
Posted by: Guest on March-05-2021
12

python lists

thislist = ["apple", "banana", "cherry"]
print(thislist[1])
Posted by: Guest on January-07-2020
0

making lists in python

# list with numbers
list = [10, 20, 30]
# list with strings
list = ["john", "kai", "albert"]
# mixed data
list = ["john",1 ,True ]
Posted by: Guest on June-07-2020

Code answers related to "python create list of strings"

Python Answers by Framework

Browse Popular Code Answers by Language