python args parameters code example
Example 1: python arguments
import sys
print ("the script has the name %s" % (sys.argv[0])
Example 2: python *args
# concatenate_keys.py
def concatenate(**kwargs):
result = ""
# Iterating over the keys of the Python kwargs dictionary
for arg in kwargs:
result += arg
return result
print(concatenate(a="Real", b="Python", c="Is", d="Great", e="!"))