Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different values for arguments that use defaults #8

Open
JaumeAmoresDS opened this issue Nov 28, 2023 · 0 comments
Open

Allow different values for arguments that use defaults #8

JaumeAmoresDS opened this issue Nov 28, 2023 · 0 comments

Comments

@JaumeAmoresDS
Copy link
Owner

  • When using kwarguments, do not initialize variables that already exist in memory
  • Allow to indicate the values of arguments when calling magic cell:
%%function --input-values a=1 b=2
def add_and_print (a, b=10):
   c = a + b
   print (c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant