Skip to content

Latest commit

 

History

History

0x03-python-data_structures

0x03. Python - Data Structures: Lists, Tuples

Table of contents

Files Description
0-print_list_integer.py Python function that prints all integers of a list
1-element_at.py Python function that retrieves an element from a list like in C
2-replace_in_list.py Python function that replaces an element of a list at a specific position (like in C)
3-print_reversed_list_integer.py Python function that prints all integers of a list, in reverse order
4-new_in_list.py Python function that replaces an element in a list at a specific position without modifying the original list (like in C)
5-no_c.py Python function that removes all characters c and C from a string
6-print_matrix_integer.py Python function that prints a matrix of integers
7-add_tuple.py Python function that adds 2 tuples
8-multiple_returns.py Python function that returns a tuple with the length of a string and its first character
9-max_integer.py Python function that finds the biggest integer of a list
10-divisible_by_2.py Python function that finds all multiples of 2 in a list
11-delete_at.py Python function that deletes the item at a specific position in a list
12-switch.py Python program that completes source code in order to switch value of a and b
13-is_palindrome.c C program that checks if a singly linked list is a palindrome
lists.h Header file for the C program
100-print_python_list_info.c C function to compile in a shared library that prints info on a Python list
100-test_lists.py Python script to test the C function above