What does .append() function do in python?

前端 未结 0 392
一生所求
一生所求 2021-01-07 09:46

I have this code right here that i was using and i was trying out the .append() function.

x=[1, 2, 3, 4]
x.append(5)
print(x)

Bu

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