Write a Python function to create the HTML string with tags around the word(s).


Topic: Write a Python function to create the HTML string with tags around the word(s).

Solution

def add_tags(tag, word):
	return "<%s>%s" % (tag, word, tag)



List all Python Programs