def loopy(x):			#1
	for i in range(4):	#2
		x = x + i		#3
	return x			#4

print(loopy(3))		#6

Play Computer with loopy function
Line	x	i	Comment	
6	-	-	call loopy function with argument 3