Append list using function in python

后端 未结 0 1653
孤独总比滥情好
孤独总比滥情好 2021-01-24 13:16

Write a function to find if the given object is not in the list. If it is not in the list then append the object to the list

def append_object(): list1 = [1, 2, 3, 4, 5]

相关标签:
回答
  • 消灭零回复
提交回复
热议问题