MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / reverse

Function reverse

03_tuples_arrays/python/tuples.py:4–6  ·  view source on GitHub ↗
(pair: tuple)

Source from the content-addressed store, hash-verified

2
3
4def reverse(pair: tuple) -> tuple:
5 integer, boolean = pair
6 return (boolean, integer)
7
8
9from collections import namedtuple

Callers 1

tuples.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected