is it possible to append to a default function parameter or to get the value of the function parameter from outside?
for example:
def foo(bar, foo="baz"):
print(bar, foo)
foo("hello", "world") # print "hello world"
foo("hello", foo="world") # print "hello world" as well
foo("hello") # print "hello baz"
foo("hello", foo<append it>"bla") # how? want to print "hello bazbla"
print("default value of foo's foo parameter:", [magic here])
i dont think this is a good practise but I'm curious.