asked 118k views
1 vote
Which function will add a name to a list of baseball players in Python?

append()
main()
print()
sort()

asked
User Azbykov
by
8.6k points

2 Answers

5 votes
The function that will add a name to a list of base ball players in python is append.
answered
User Colin Newell
by
8.8k points
0 votes

The append function adds an element to the end of a list.

The correct choice is append()

answered
User Twooster
by
8.3k points