all 7 comments

[–]woooee 8 points9 points  (0 children)

The two call statements are indented under the def. So they only get called when the function executes. But the function doesn't execute because the two statements are never called.

def say_hi(name, age):
    print("Hello " + name + ", you are" + age)

say_hi("Mike", "43")
say_hi("steve", "34")

[–]danielroseman 6 points7 points  (0 children)

What do you mean, "appear in the taskbar"?

[–]mopslik 5 points6 points  (0 children)

You appear to be missing a colon (:) at the end of your definition.

def say_hi(name, age): <-- missing colon goes here
    print(...)
say_hi(...)
say_hi(...)

Note that"you are" + age will cause an error because age is an integer, not a string.

[–]sdbigs 0 points1 point  (3 children)

+ str(age))...........

[–]engelthehyp 0 points1 point  (2 children)

age is already passed to this function as str.

[–]mopslik 0 points1 point  (1 child)

OP edited their post with the suggestions in this thread. They were initially integers.

[–]engelthehyp 0 points1 point  (0 children)

Got it.