[Tutor] Converting a numerical variable into a string variable

Shawn Milochik Shawn at Milochik.com
Thu Feb 12 22:05:44 CET 2009


>>> for x in range(1,9):
	print("G%dBF" % (x,))

	
G1BF
G2BF
G3BF
G4BF
G5BF
G6BF
G7BF
G8BF
>>>


More information about the Tutor mailing list