Write a Python function to create the HTML string with tags around the word(s).
- برمجة
- برمجة بايثون
- 2021-04-15
- salsabeelalhams99111801528
الأجوبة
def add_tags(tag, word):
return "<%s>%s</%s>" % (tag, word, tag)
print(add_tags('i', 'Python'))
print(add_tags('b', 'Python Tutorial'))أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال