I believe this is close, but I haven't quite got it yet. : Thank you for reading, I am very new with python and this is my first actual post.  I'm having a hard time understanding how return values work, and how parameters can receive data.  Is this close, and what resources should I use to improve it.  Thank you.

def getInfo():

	a = int(input('Please enter the first number in the range:'))
	b = int(input('Please enter then second number in the range:'))
	return a, b

def loopIt(a, b):

	for i in range(a, b):
		print('i is now {}'.format(i))

getInfo()
loopIt(a, b)
