12 lines
186 B
Python
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
|