def scientific(number, operation, number2=None, logbase=10):
    """
    Solve scientific operations manually
    """
    if operation == 'log':
        return math.log(number, logbase)
    elif operation == 'acos':
        return math.acos(number)
    elif operation == 'asin':
        return math.asin(number)
    elif operation == 'atan':
        return math.atan(number)
    elif operation == 'cos':
        return math.cos(number)
    elif operation == 'hypot':
        return math.hypot(number, number2)
    elif operation == 'sin':
        return math.sin(number)
    elif operation == 'tan':
        return math.tan(number)
def scientific ( number , operation , number2 = None , logbase = 10 ) : if operation == 'log' : return math . log ( number , logbase ) elif operation == 'acos' : return math . acos ( number ) elif operation == 'asin' : return math . asin ( number ) elif operation == 'atan' : return math . atan ( number ) elif operation == 'cos' : return math . cos ( number ) elif operation == 'hypot' : return math . hypot ( number , number2 ) elif operation == 'sin' : return math . sin ( number ) elif operation == 'tan' : return math . tan ( number )
Solve scientific operations manually