MCPcopy Create free account

hub / github.com/BrightDaniel/alx-higher_level_programming / functions

Functions748 in github.com/BrightDaniel/alx-higher_level_programming

↓ 62 callersMethodupdate
Update the Square. Args: *args (ints): New attribute values. - 1st argument represents id attribute
0x0C-python-almost_a_circle/models/square.py:31
↓ 50 callersMethodupdate
Update the Rectangle. Args: *args (ints): New attribute values. - 1st argument represents id attribute
0x0C-python-almost_a_circle/models/rectangle.py:97
↓ 19 callersMethodsave_to_file
Write the JSON serialization of a list of objects to a file. Args: list_objs (list): A list of inherited Base instances.
0x0C-python-almost_a_circle/models/base.py:39
↓ 19 callersMethodsave_to_file_csv
Write the CSV serialization of a list of objects to a file. Args: list_objs (list): A list of inherited Base instances.
0x0C-python-almost_a_circle/models/base.py:96
↓ 18 callersMethodto_json_string
Return the JSON serialization of a list of dicts. Args: list_dictionaries (list): A list of dictionaries.
0x0C-python-almost_a_circle/models/base.py:29
↓ 17 callersMethodto_dictionary
Return the dictionary representation of the Square.
0x0C-python-almost_a_circle/models/square.py:71
↓ 11 callersMethodarea
Return the area of the Rectangle.
0x0C-python-almost_a_circle/models/rectangle.py:81
↓ 11 callersMethodcreate
Return a class instantied from a dictionary of attributes. Args: **dictionary (dict): Key/value pairs of attributes to initialize.
0x0C-python-almost_a_circle/models/base.py:66
↓ 11 callersMethoddisplay
Print the Rectangle using the `#` character.
0x0C-python-almost_a_circle/models/rectangle.py:85
↓ 11 callersMethodfrom_json_string
Return the deserialization of a JSON string. Args: json_string (str): A JSON str representation of a list of dicts. Return
0x0C-python-almost_a_circle/models/base.py:53
↓ 11 callersMethodto_dictionary
Return the dictionary representation of a Rectangle.
0x0C-python-almost_a_circle/models/rectangle.py:142
↓ 10 callersMethodload_from_file
Return a list of classes instantiated from a file of JSON strings. Reads from `<cls.__name__>.json`. Returns: If the file
0x0C-python-almost_a_circle/models/base.py:80
↓ 10 callersMethodload_from_file_csv
Return a list of classes instantiated from a CSV file. Reads from `<cls.__name__>.csv`. Returns: If the file does not exis
0x0C-python-almost_a_circle/models/base.py:115
↓ 10 callersFunctionmax_integer
(my_list=[])
0x03-python-data_structures/9-max_integer.py:3
↓ 6 callersFunctionfind_peak
Finds the peak in a list of integers
0x10-python-network_0/tests/6-peak.py:5
↓ 6 callersMethodinteger_validator
validates that value is an integer greater than 0
0x0A-python-inheritance/11-square.py:13
↓ 5 callersMethodcapture_stdout
Captures and returns text printed to stdout. Args: rect (Rectangle): The Rectangle to print to stdout. method (str): T
0x0C-python-almost_a_circle/tests/test_models/test_rectangle.py:454
↓ 5 callersMethodcapture_stdout
Captures and returns text printed to stdout. Args: sq (Square): The Square ot print to stdout. method (str): The metho
0x0C-python-almost_a_circle/tests/test_models/test_square.py:344
↓ 3 callersMethodarea
finds area of square Returns: the area of the square
0x06-python-classes/3-square.py:23
↓ 2 callersMethod__init__
Initialize a new Square. Args: size (int): The size of the new Square. x (int): The x coordinate of the new Square.
0x0C-python-almost_a_circle/models/square.py:11
↓ 2 callersMethod__init__
Initialize a new Rectangle. Args: width (int): The width of the new Rectangle. height (int): The height of the new Rec
0x0C-python-almost_a_circle/models/rectangle.py:9
↓ 2 callersMethod__str__
Return the print() and str() representation of a Square.
0x0C-python-almost_a_circle/models/square.py:80
↓ 2 callersMethod__str__
Return the print() and str() representation of the Rectangle.
0x0C-python-almost_a_circle/models/rectangle.py:152
↓ 2 callersFunctionadd
(a, b)
0x01-python-if_else_loops_functions/10-add.py:2
↓ 2 callersMethodarea
returns the area of the rectangle
0x08-python-more_classes/8-rectangle.py:63
↓ 2 callersMethodarea
returns the area of the rectangle
0x08-python-more_classes/9-rectangle.py:68
↓ 2 callersMethodarea
returns the area of the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/8-rectangle.py:63
↓ 2 callersMethodarea
returns the area of the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/9-rectangle.py:68
↓ 2 callersMethodinteger_validator
validates that value is an integer greater than 0
0x0A-python-inheritance/9-rectangle.py:13
↓ 1 callersFunctionadd
(a, b)
0x12-javascript-warm_up/9-add.js:2
↓ 1 callersFunctionalready_exists
check that a queen does not already exist in that y value
0x08-python-more_classes/101-nqueens.py:27
↓ 1 callersFunctionalready_exists
check that a queen does not already exist in that y value
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:27
↓ 1 callersFunctionclear_a
clears the answers from the point of failure on
0x08-python-more_classes/101-nqueens.py:45
↓ 1 callersFunctionclear_a
clears the answers from the point of failure on
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:45
↓ 1 callersMethoddraw
Draw Rectangles and Squares using the turtle module. Args: list_rectangles (list): A list of Rectangle objects to draw.
0x0C-python-almost_a_circle/models/base.py:137
↓ 1 callersFunctionfactorial
(n)
0x12-javascript-warm_up/10-factorial.js:2
↓ 1 callersFunctionlistint_len
* slistint_len - Counts the number of elements in a linked list * @h: The linked list to count * * Return: Number of elements in the linked list
0x03-python-data_structures/13-is_palindrome.c:72
↓ 1 callersFunctionload_from_json_file
crate and object from a "JSON file"
0x0B-python-input_output/6-load_from_json_file.py:9
↓ 1 callersFunctionnqueens
recursive backtracking function to find the solution
0x08-python-more_classes/101-nqueens.py:50
↓ 1 callersFunctionnqueens
recursive backtracking function to find the solution
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:50
↓ 1 callersFunctionprintCharacters
(characters, index)
0x14-javascript-web_scraping/101-starwars_characters.js:11
↓ 1 callersFunctionprint_hexn
0x04-python-more_data_structures/103-python.c:4
↓ 1 callersFunctionprint_hexn
0x02-python-import_modules/0x04-python-more_data_structures/103-python.c:4
↓ 1 callersFunctionprint_python_bytes
* print_python_bytes - Prints basic info about Python byte objects. * @p: A PyObject byte object. */
0x05-python-exceptions/103-python.c:48
↓ 1 callersFunctionprint_python_bytes
0x04-python-more_data_structures/103-python.c:14
↓ 1 callersFunctionprint_python_bytes
0x02-python-import_modules/0x04-python-more_data_structures/103-python.c:14
↓ 1 callersFunctionprint_python_float
* print_python_float - Prints basic info about Python float objects. * @p: A PyObject float object. */
0x05-python-exceptions/103-python.c:85
↓ 1 callersFunctionreject
determines whether or not to reject the solution
0x08-python-more_classes/101-nqueens.py:34
↓ 1 callersFunctionreject
determines whether or not to reject the solution
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:34
↓ 1 callersFunctionsave_to_json_file
Object to a text file, using a JSON representation
0x0B-python-input_output/5-save_to_json_file.py:9
Method__del__
prints a string when an instance has been deleted
0x08-python-more_classes/7-rectangle.py:19
Method__del__
prints a string when an instance has been deleted
0x08-python-more_classes/8-rectangle.py:30
Method__del__
prints a string when an instance has been deleted
0x08-python-more_classes/5-rectangle.py:14
Method__del__
prints a string when an instance has been deleted
0x08-python-more_classes/6-rectangle.py:18
Method__del__
prints a string when an instance has been deleted
0x08-python-more_classes/9-rectangle.py:35
Method__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/7-rectangle.py:19
Method__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/8-rectangle.py:30
Method__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/5-rectangle.py:14
Method__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/6-rectangle.py:18
Method__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/9-rectangle.py:35
Method__eq__
Compare if square is equal to another by area Args: other (Square): square to compare against Returns: True or
0x06-python-classes/102-square.py:68
Method__eq__
what was != is now ==
0x0A-python-inheritance/100-my_int.py:13
Method__ge__
Compare if square is greater than or equal to another by area Args: other (Square): square to compare against Returns:
0x06-python-classes/102-square.py:86
Method__gt__
Compare if square is greater than another by area Args: other (Square): square to compare against Returns: Tru
0x06-python-classes/102-square.py:95
Method__init__
Initializes the rectangle
0x08-python-more_classes/7-rectangle.py:13
Method__init__
Initializes the rectangle
0x08-python-more_classes/4-rectangle.py:9
Method__init__
Initializes the rectangle
0x08-python-more_classes/1-rectangle.py:9
Method__init__
Initializes the rectangle
0x08-python-more_classes/8-rectangle.py:24
Method__init__
Initializes the rectangle
0x08-python-more_classes/5-rectangle.py:9
Method__init__
Initializes the rectangle
0x08-python-more_classes/3-rectangle.py:9
Method__init__
Initializes the rectangle
0x08-python-more_classes/6-rectangle.py:12
Method__init__
Initializes the rectangle
0x08-python-more_classes/2-rectangle.py:9
Method__init__
Initializes the rectangle
0x08-python-more_classes/9-rectangle.py:29
Method__init__
Initialize a new Base. Args: id (int): The identity of the new Base.
0x0C-python-almost_a_circle/models/base.py:17
Method__init__
Initializes a square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/1-square.py:10
Method__init__
initializes square Args: size: size of side of square
0x06-python-classes/3-square.py:8
Method__init__
initializes the square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/5-square.py:10
Method__init__
Initialize a new Node. Args: data (int): The data of the new Node. next_node (Node): The next node of the new Node.
0x06-python-classes/100-singly_linked_list.py:9
Method__init__
Initalize a new SinglyLinkedList.
0x06-python-classes/100-singly_linked_list.py:44
Method__init__
Initialize a new square. Args: size (int): The size of the new square. position (int, int): The position of the new sq
0x06-python-classes/101-square.py:9
Method__init__
Args: size: size of square
0x06-python-classes/2-square.py:8
Method__init__
Initializes the Magic Class
0x06-python-classes/103-magic_class.py:8
Method__init__
Initialize a new square. Args: size (int): The size of the new square. position (int, int): The position of the new sq
0x06-python-classes/6-square.py:9
Method__init__
initializes the square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/4-square.py:10
Method__init__
initializes the square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/102-square.py:10
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/7-rectangle.py:13
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/4-rectangle.py:9
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/1-rectangle.py:9
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/8-rectangle.py:24
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/5-rectangle.py:9
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/3-rectangle.py:9
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/6-rectangle.py:12
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/2-rectangle.py:9
Method__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/9-rectangle.py:29
Method__init__
Initializes the student
0x0B-python-input_output/9-student.py:9
Method__init__
Initialize a new Student. Args: first_name (str): The first name of the student. last_name (str): The last name of the
0x0B-python-input_output/10-student.py:8
Method__init__
Initializes the student
0x0B-python-input_output/11-student.py:9
Method__init__
instantiation of the square
0x0A-python-inheritance/10-square.py:11
Method__init__
instantiation of the rectangle
0x0A-python-inheritance/11-square.py:23
Method__init__
instantiation of the square
0x0A-python-inheritance/11-square.py:41
next →1–100 of 748, ranked by callers