Python Library functions

All Python methods you need.

Built-in

Title Description
Python abs() returns absolute value of a number
Python any() Checks if any Element of an Iterable is True
Python all() returns true when all elements in iterable is true
Python ascii() Returns String Containing Printable Representation
Python bin() converts integer to binary string

Dictionary

Title Description
Python Dictionary clear() Removes all Items
Python Dictionary copy() Returns Shallow Copy of a Dictionary
Python Dictionary fromkeys() creates dictionary from given sequence
Python Dictionary get() Returns Value of The Key
Python Dictionary items() returns view of dictionary's (key, value) pair

List

Title Description
Python List append() Add Single Element to The List
Python List extend() Add Elements of a List to Another List
Python List insert() Inserts Element to The List
Python List remove() Removes Element from the List
Python List index() returns smallest index of element in list

Set

Title Description
Python Set remove() Removes Element from the Set
Python Set add() adds element to a set
Python Set copy() Returns Shallow Copy of a Set
Python Set clear() remove all elements from a set
Python Set difference() Returns Difference of Two Sets

String

Title Description
Python String capitalize() Converts first character to Capital Letter
Python String center() Pads string with specified character
Python String casefold() converts to casefolded strings
Python String count() returns occurrences of substring in string
Python String endswith() Checks if String Ends with the Specified Suffix

Tuple

Title Description
Python Tuple count() returns occurrences of element in a tuple
Python Tuple index() returns smallest index of element in tuple
Python any() Checks if any Element of an Iterable is True
Python all() returns true when all elements in iterable is true
Python ascii() Returns String Containing Printable Representation