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

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

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.
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()

User Twooster
by
8.4k points