"""
Challenge #3:
Create a function that takes a string and returns it as an integer.
Examples:
- string_int("6") ➞ 6
- string_int("1000") ➞ 1000
- string_int("12") ➞ 12
"""
def string_int(txt):
    return int(txt)

print(string_int("6"))
#checks if it is that data type
print( isinstance(string_int("6"), int))

def int_string(num):
    return str(num)

print(int_string(4))