print("Hello My name is Angel Vasquez")

# type(x) # Identifies the data type of x
# print(type(x)) how to debug the code

print(type("Angel Vasquez"))

print(type(3.14))


def function_title():
    local_a = 7
    local_b = 2
    c = local_a + local_b
    print(c)


function_title()


def function_two(a, b):
    c = a * b
    print(c)


function_two(5, 100)


def function_three(a, b):
    c = a / b
    print(c)


user_age = 4
user_number = 4
function_three(user_age, user_number)


def function_four(a, b):
    c = a - b

    return c


user_age = 3
user_number = 2
x = function_four(user_age, user_number)
print(x)


user_name = input("Angel Vasquez")
print(user_name)


def check_equals(a, b):
    if a == b:
        print("They are equal")
    else:
        print("They aren't equal")


user_number = input("100")
check_equals(user_number, 5)


print("IIIIIIIIIIIIIIIIIIIII")
print("IIII"             "IIII")

response = input("Enter something here: ")
print(int(response)) #When does this break?

#How can I make sure an input was an integer?
user = input("Enter a number: ")
try: #Try to see if this works
    print(int(user))

except ValueError: # if error, don't crash. Do this instead.
    print("That's not an integer. ")
else: #if no error occurs, do this
    print("That was an integer. All good here.")
    print("This line always happens.")

