Where each argument goes
Predict the output · Medium · §8.3 Handing over ingredients
Predict the output without running the code.
Code
def make_tag(word, mark="#"):
return mark + word
print(make_tag("ai"))
print(make_tag("ai", "@"))
print(make_tag(mark="!", word="ai"))
print(make_tag("@", "ai"))
print(make_tag())Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.