We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70898c9 commit 19f0accCopy full SHA for 19f0acc
function_params.py
@@ -1,7 +1,8 @@
1
2
-def print_msg(msg, error="No Error", *kwargs):
+def print_msg(msg, error="No Error", *args, **kwargs):
3
print("Log : "+error+":" + msg)
4
- print(kwargs)
+ print("Args " , args)
5
+ print("Kwargs ", kwargs)
6
7
-print_msg("This will be logged","File not found", "1", "12", "213", "32113")
8
+print_msg("This will be logged","File not found") #,"-13", "-1", "0",key_1="1,2,3,4", key_2="5,6,7,8")
0 commit comments