Robotics & Artificial Intelligence

The …………… function in Python is used to add elements to an empty list.

  1. add()
  2. append()
  3. concatenate()
  4. fill()

Python List Manipulation

1 Like

Answer

append()

Reason — The append() function is used to add elements to an empty list.

Answered By

1 Like


Related Questions