A welcome message function

Write code · Basic · §8.1 Building parts

Write a function welcome(name) that takes a name and prints two lines: the name followed by , welcome! (for example, mina, welcome!), and then Please check the comment rules. The last two lines of the starter code call the function once with "mina" and once with "jun". Join the strings with +.

Starter code

# Write the welcome function here

welcome("mina")
welcome("jun")

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.