top of page
Jul 21, 2021
Paradigm: Partial
Functional Programming from functools import partial def any_given_function_with_multiple_args(**kwargs): user = ',...
Apr 22, 2021
Paradigm: Try, Except, Finally
Imperative Programming: exception handling def division_error_handling(num1, num2): try: result = num1 / num2 print(f"The result is...
Mar 14, 2021
Paradigm: Parameters
Imperative Programming: Flexible Functions # access args as a tuple and kwargs as a dictionary with specified key, value items def...
Jan 31, 2021
Paradigm: Decorators
Functional Programming Calculating the runtime is one of the most common tasks in a Python script. Here is a decorator to handle this...
bottom of page