Skip to content

Latest commit

 

History

History

0x03-python-data_structures

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Data Structures In Python

Description

This repo contains completed tasks on Data structures in python

Learning Objectives

At the end of this project, you are expected to be able to explain to anyone, without the help of Google:

General

  • Why Python programming is awesome
  • What are lists and how to use them
  • What are the differences and similarities between strings and lists
  • What are the most common methods of lists and how to use them
  • How to use lists as stacks and queues
  • What are list comprehensions and how to use them
  • What are tuples and how to use them
  • When to use tuples versus lists
  • What is a sequence
  • What is tuple packing
  • What is sequence unpacking
  • What is the del statement and how to use it

Files

Files Descriptions
File 0-print_list_integer.py A function that prints all integers of a list.
File 1-element_at.py A function that retrieves an element from a list.
File 2-replace_in_list.py A function that replaces an element of a list at a specific position.
File 3-print_reversed_list_integer.py A function that prints all integers of a list, in reverse order.
File 4-new_in_list.py A function that replaces an element in a list at a specific position without modifying the original list.
File 5-no_c.py A function that removes all characters c and C from a string.
File 6-print_matrix_integer.py A function that prints a matrix of integers.
File 7-add_tuple.py A function that adds 2 tuples.
File 8-multiple_returns.py A function that returns a tuple with the length of a string and its first character.
File 9-max_integer.py A function that finds the biggest integer of a list.
File 10-divisible_by_2.py A function that finds all multiples of 2 in a list.
File 11-delete_at.py A function that deletes the item at a specific position in a list.
File 12-switch.py A function that switches values.
File 13-is_palindrome.c A function in C that checks if a singly linked list is a palindrome.
File 100-print_python_list_info.c A C function that prints some basic info about Python lists.
File lists.h Header file for C function.

Author

  • Ayomide Johnson Salami