How to set variable to key of keyword arguments of function?

thanks a lot, the code works and is more cleaner ! I am a fresh bird of julia, give me some time to really understand this syntax.

1 Like