ucanuupnobb
ucanuupnobb copied to clipboard
刷题笔记:函数变量?
What gets printed?
def print_header(str):
print("+++" + str + "+++")
print_header.category = 1
print_header.text = "some info"
print_header("{} and {}".format(print_header.category, print_header.text))