Docsity

Python Array Manipulation: Print, Insert, Delete, and Sort, Assignments of Artificial Intelligence

Partial preview of the text

Download Python Array Manipulation: Print, Insert, Delete, and Sort and more Assignments Artificial Intelligence in PDF only on Docsity!

NAME: Syeda Laiba Iftikhar

[Document

title]

[Document subtitle]

CODE: OUTPUT: QUESTION: Deletion of single and multiple elements from arrayPython built in methods CODE: OUTPUT:  By use of user defined code i.e. by use of loops, conditional statements if any CODE: OUTPUT: QUESTION: Sort the elements of array in:Ascending order CODE: OUTPUT:

Descending order CODE: OUTPUT: