take me to ur heart # same as `import sys` in python we know the sys and we’re gonna play it # add function gonna add num1, num2 when i give my num1 + num2 it will be completely say goodbye # multiply function gonna multiply num1, num2 when i give my num1 * num2 it will be completely say goodbye # divide function gonna divide num1, num2 when i give my num1 / num2 it will be completely say goodbye # subtract function gonna subtract num1, num2 when i give my num1 - num2 it will be completely say goodbye # While True loop to keep the calculator going forever until you kill it (^C) together forever and never to part # Ask for input i just wanna tell u how im feeling "\nCalculate:\n" give input up sys.stdin.readline() # Split input in a list which looks like: [num1, operator, num2] give input up input.split() # Save operator to a variable give operator up input[1] # Create a num1 and num2 variable and make them floats give num1 up to_float(input[0]) give num2 up to_float(input[2]) # check if operator is "+" and if so run the add function and print the result and if u ask me how im feeling operator is "+" i just wanna tell u how im feeling add(num1, num2) say goodbye # check if operator is "-" and if so run the subtract function and print the result and if u ask me how im feeling operator is "-" i just wanna tell u how im feeling subtract(num1, num2) say goodbye # check if operator is "/" and if so run the divide function and print the result and if u ask me how im feeling operator is "/" i just wanna tell u how im feeling divide(num1, num2) say goodbye # check if operator is "*" and if so run the multiply function and print the result and if u ask me how im feeling operator is "*" i just wanna tell u how im feeling multiply(num1, num2) say goodbye say goodbye say goodbye