Question: 
Write a function to convert a given string to a tuple.


Model's Code:
def string_to_tuple(s):
    return tuple(s)



Sample Correct Code:
def string_to_tuple(str1):
    result = tuple(x for x in str1 if not x.isspace()) 
    return result


Asserts:
assert string_to_tuple("python 3.0")==('p', 'y', 't', 'h', 'o', 'n', '3', '.', '0')
assert string_to_tuple("item1")==('i', 't', 'e', 'm', '1')
assert string_to_tuple("15.10")==('1', '5', '.', '1', '0')


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 310 of 974: 224/310 (72.25806451612902%): failed