human
Write me a code to count distinct sum of pairs possible from a given range and the other steps required given the following:
Count distinct sum of pairs possible from a given range | Function to count distinct sum of pairs possible from the range [ L , R ].
Return the count of distinct sum of pairs.
Driver Code"
Solution in Python:
assistant
#Here is code to count distinct sum of pairs possible from a given range and the other steps required.
 def distIntegers ( L , R ) :
	return 2 * R - 2 * L + 1
if __name__ == ' _ _ main _ _ ' :
	L , R = 3 , 8
	print ( distIntegers ( L , R ) )