Uhh, could you please properly format the code within a code block? Also enable python syntax highlighting. Additionally, provide an example where this could be useful.