add single string to a list string python code example
Example: python add a string to a list
list = ["other str", 2, 56]
list.append("string")
# list = ["other str", 2, 56, "string"]
list = ["other str", 2, 56]
list.append("string")
# list = ["other str", 2, 56, "string"]