Skip to the content.

3.3 Homework

function calc( num1 = 7 , num2 = 7) {
    console.log(num1 + num2)
    console.log(num1 - num2)
    console.log(num1 * num2)
    console.log(num1 / num2)
    console.log(num1 ** num2)
}

def calc(num1=7 , num2=7):
    print(num1 + num2) 
    print(num1 - num2) 
    print(num1 / num2) 
    print(num1 * num2) 
    print(num1 ** num2)

calc()