You can place an element in a list at your desired place using append() function.
3 Likes
False
Reason — The append() function adds an element only at the end of a list. To place an element at a desired position, the insert() function is used.
append()
insert()
Answered By
2 Likes
You can sort the data items of the list using the sort() function.
You can use the index() method to return the index value of the tuple element.
The in operator checks whether some elements are present in the tuple.
To print all the elements of the tuple, you cannot use looping statements.