human
Write me a the Python program you requested given the following:
Write a function to convert a given tuple of positive integers into a single integer. Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def tuple_to_int(nums):
    result = int(''.join(map(str,nums)))
    return result