Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 831 Bytes

File metadata and controls

20 lines (15 loc) · 831 Bytes

Exercise 09: Create a new module with a couple of functions

You explored the creation of Python extensions with C, Zig, and Rust, so now it is time for you to create a more complex module.

The exercise here is for you to pick one language and add a couple more functions to the module in order to perform a few simple tasks.

Some ideas can be:

  • Mathematical operations between two (or more) numbers
  • Check if an item is in a list of items
  • Sort a list of elements
  • List the contents of a directory

Please check the documentation pages so you can get more information about handling parameters and performing some basic operations.