# 8kyu - Convert a String to a Number!

""" We need a function that can transform a string into a number. What ways of achieving this do you know?

Note: Don't worry, all inputs will be strings, and every string is a perfectly valid representation of an integral number. """


def string_to_number(s):
    return int(s)

# string_to_number = int


q = string_to_number("1234")  # 1234
q
q = string_to_number("605")  # 605
q
q = string_to_number("1405")  # 1405
q
q = string_to_number("-7")  # -7
q
