Tuesday, April 8, 2008

variable


first_string = “This is a string”second_string = “This is another string”>>> first_number = 4
second_number = 5>
print “The first variables are %s, %s, %d, %d” % (first_string, second_string,first_number, second_number)The first variables are This is a string, This is another string, 4, 5

No comments: