Skip to content

Latest commit

 

History

History

0x03-python-data_structures

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Project: 0x03. Python - Data Structures: Lists, Tuples

This directory contains projects focused on understanding and implementing data structures in Python, specifically lists and tuples. The tasks cover concepts such as list operations, tuple operations, and various methods associated with these data structures.

Resources

Read or watch

Learning Objectives

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

Tasks

Task File Description
0. Print a list of integers 0-print_list_integer.py Write a function that prints all integers of a list.
1. Secure access to an element in a list 1-element_at.py Write a function that retrieves an element from a list like in C.
2. Replace element 2-replace_in_list.py Write a function that replaces an element of a list at a specific position (like in C).
3. Print a list of integers... in reverse! 3-print_reversed_list_integer.py Write a function that prints all integers of a list, in reverse order.
4. Replace in a copy 4-new_in_list.py Write a function that replaces an element in a list at a specific position without modifying the original list.
5. Can you C me now? 5-no_c.py Write a function that removes all characters c and C from a string.
6. Lists of lists = Matrix 6-print_matrix_integer.py Write a function that prints a matrix of integers.
7. Tuples addition 7-add_tuple.py Write a function that adds 2 tuples.
8. More returns! 8-multiple_returns.py Write a function that returns a tuple with the length of a string and its first character.
9. Find the max 9-max_integer.py Write a function that finds the biggest integer of a list.
10. Only by 2 10-divisible_by_2.py Write a function that finds all multiples of 2 in a list.
11. Delete at 11-delete_at.py Write a function that deletes the item at a specific position in a list.
12. Switch 12-switch.py Complete the source code in order to switch value of a and b.
13. Linked list palindrome 13-is_palindrome.c, lists.h Write a function in C that checks if a singly linked list is a palindrome.
14. CPython #0: Python lists 100-print_python_list_info.c Create a C function that prints some basic info about Python lists.