List remove(obj) Method

In Python Built-In List remove(obj) method is used to search for the given element in the list and removes the first matching element from the list. Syntax: There is 1 Parameter used in the list remove(obj) method: obj Object to be removed from the given list. Example:

List pop() Method

In Python Built-In List pop() method is used to removes and return the last object from the given list. Syntax: There is 1 Parameter used in the list pop() method: obj An optional parameter, and the index of the object to be removed from the given list. Example:

Dictionary keys() method

In Python Dictionary keys() method is used to return a view object that displays a list of all the keys in the given dictionary. Syntax: There are no Parameters in dictionary keys() method. Example:

Dictionary update() method

In Python Dictionary update() method is used to update the dictionary with the elements from another dictionary object. Syntax: Update() method take dictionary or an iterable object of key pairs mostly tuples as Parameters. Example:

Tuple tuple(seq) Function

In Python Tuple tuple(seq) function takes types of the sequence and converts them to Tuple. Simply used to convert the list into a tuple. Syntax: There is 1 Parameter used in Lists list(seq) Function: seq A tuple to be converted into the list. Example:

Tuple min(tuple) Function

In Python Built-In tuple min(tuple) function is used to returns the elements from the given tuple with minimum value. Syntax: There is 1 Parameter used in tuple min(tuple) Function: tuple from which min value to be returned. Example:

Tuple max(tuple) Function

In Python Built-In tuple max(tuple) function is used to return the elements from the given tuple with maximum value. Syntax: There is 1 Parameter used in tuple max(tuple) Function: tuple from which max value to be returned. Example:

Tuple cmp() Function Python 2 and 3

In Python 2 Built-In Tuple cmp() function is used to compare 2 elements in the given Tuple. Syntax: There are 2 parameters used in Tuple cmp() Function: tuple1 The first list to be compared and tuple2 The second list to be compared. Example: Tuple cmp() Function Python 3 In Python 3, the cmp function does not exists and the … Read more

Dictionary get() Method

In Python the Dictionary get() Method is used to return the value for the specified key if key is in given dictionary. Syntax: There are two Parameters used in get() Method, key – key to being searched in the given dictionary. And value– used as Value to be returned if the key is not found. The default value … Read more

Python User Input-input()

To take Python User Input, we use input() function in Python Programming Language, it asks for an input from the user and returns a string value, no matter what value you have entered, all values will be considered as strings values. Almost all interesting Python programs accept input from the user at some point. You can start accepting user input in your … Read more