Return to Snippet

Revision: 70277
at January 3, 2016 02:33 by brm


Initial Code
#!/usr/bin/python

def func(a, b):
	la = a
	lb = b
	while la <= lb:
		for i in range(a, b+1):
			if (la <= i) and (i <= lb):
				print i,
			else:
				print " ",
		print
		la += 1
		lb -=1
#print func(1,5)

Initial URL

                                

Initial Description
Print number histogram 2

Initial Title
Number histogram 2

Initial Tags

                                

Initial Language
Python