Created
July 2, 2023 11:01
-
-
Save developer-sdk/9e45554d4a47dbd5266c41bcc03c9e38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def op_test0(a, b, c, d): | |
print(a, b, c, d) | |
def op_test1(val1, *op_args): | |
print(val1) | |
print(op_args) | |
def op_test2(val1, **op_kwargs): | |
print(val1) | |
print(op_kwargs) | |
if __name__ == '__main__': | |
print("---- op_test ----") | |
op_test0(1, 2, 3, 4) | |
print("---- op_test1 ----") | |
op_test1(1, 2, 3) | |
print("---- op_test2 ----") | |
op_test2('a', hello="world") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment