×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct syntax of append() function?

36. Which is the correct syntax of append() function?

  1. append(list, [separator])
  2. append(value)
  3. append(list, value, [separator])
  4. append-to-list(list, value, [separator])

Answer: C) append(list, value, [separator])

Explanation:

The correct syntax to add a single value in a list is,

append(list, value, [separator])

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.