Skip to content

Latest commit

 

History

History

0x05-python-exceptions

Python - Exceptions

Technologies

  • Files written in vi, vim, and emacs editors.
  • Files wriiten according to the betty coding style. Checked using betty-style.pl and betty-doc.pl.
  • Files tested on Ubuntu 20.04 LTS using gcc.
  • Python3.4 files

Files

Files Question
0-safe_print_list.py Write a function that prints x elements of a list.
1-safe_print_integer.py Write a function that prints an integer with "{:d}".format().
2-safe_print_list_integers.py Write a function that prints the first x elements of a list and only integers.
3-safe_print_division.py Write a function that divides 2 integers and prints the result.
4-list_division.py Write a function that divides element by element 2 lists.
5-raise_exception.py Write a function that raises a type exception.
6-raise_exception_msg.py Write a function that raises a name exception with a message.
100-safe_print_integer_err.py Write a function that prints an integer.
101-safe_function.py Write a function that executes a function safely.
102-magic_calculation.py Write the Python function def magic_calculation(a, b):
103-python.c Create three C functions that print some basic info about Python lists, Python bytes an Python float objects.