# ---------------------------------------------------------------------
# #	Daily Code	06/02/2021
#   "(One Line) Return a String as an Integer" Lesson from edabit.com
#   Coded by: Banehowl
# ---------------------------------------------------------------------

# Create a function that takes a string and returns it as an integer.

def string_int(str):
    return int(str)

print string_int("6")
print string_int("1000")
print string_int("12")