- Write a Python program to convert a tuple of string values to a tuple of integer values
Write a Python program to convert a tuple of string values to a tuple of integer values
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
tupleString = "(6,7,8,9,10)" print("The string tuple is : " + tupleString) intTuple = eval(tupleString) print("The integer Tuple is : " + str(intTuple))