Write a function te return cube of a number


Topic: Write a function te return cube of a number

Solution

def cube(num):
    return num ** 3



List all Python Programs