my intention:
I want to define a function, but if the Args of the function is empty → should print something
what i did:
def test(name):
if name == None:
return print("The Args is empty")
else:
return print('The Args is ', name, ', and TNX.')
What i want:
test():
The output should be →
The Args is empty
where is my fault?