Jo likes to start the morning with a good mood, so he wrote the following function for himself:
def good_morning(name):
print("Good morning, ", + name)
good_morning("Jo")But when trying to call the function, he saw an error message:
Traceback (most recent call last):
File "C:/Users/laysa/PycharmProjects/untitled/file.py", line 8, in <module>
good_morning("Jo")
File "C:/Users/laysa/PycharmProjects/untitled/file.py", line 6, in good_morning
print("Good morning, ", + name)
TypeError: bad operand type for unary +: 'str'Our task is to disassemble the resulting traceback into parts and find a suitable description for each block.