2022-05-05 18:25:55 +02:00

12 lines
186 B
Python

def cube(n: int) -> int:
'''
Returns the input number, cubed
Args:
n (int): The number to cube
Returns:
int: The cubed result
'''
return n ** 3