def cube(a):
    result=a*a*a
    return result
b=int(input("Enter a number: "))
print("The result would be" ,cube(b))

def cube(b):
    result=b*b*b
    return result
def square(b):
    result2=b*b
    return result2
    
def quad(a):
    b=a*a*a*a
    return b
result=quad(2)
print(result)

b=int(input("Enter a number: "))
print("The cube would be" ,cube(b))
print("The square would be" ,square(b))

