Copying the same instructions into several places makes mistakes harder to fix. A function gives that work one home and a meaningful name.
print("Welcome")Line-by-line explanation
printis a function Python already provides.- The function name describes its job.
- Round brackets contain the information given to it.