[ create a new paste ] login | about

Link: http://codepad.org/wRcZjG5a    [ raw code | output | fork ]

Python, pasted on Jan 27:
1
2
3
4
5
6
7
def printMultiples(n):
	i=1
	while i <= 6:
		print n*i, '\t',
		i=i+1
		
printMultiples(3)


Output:
1
3 	6 	9 	12 	15 	18 	


Create a new paste based on this one


Comments: