In Python, define a function that takes two arguments and returns the maximum of the two.
6, 8
def max_value(a, b):
    # Return the maximum of two numbers
    if a > b:
        return a
    else:
        return b

# Example usage
a = 6
b = 8
print(max_value(a, b)) # 8