add string to a list 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"]