A novice learner python, would like to ask about the use of the pass statement here.
the last one below is an example on Mr. Liao Xuefeng"s website. what is the purpose of the pass statement? Deleting pass and leaving pass seems to have no effect on the code?
example:
example of "check whether there are city and job parameters in a variable":
def person (name, age, * * kw):
if "city" in kw:
-sharp city
pass
if "job" in kw:
-sharp job
pass
print("name:", name, "age:", age, "other:", kw)