Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Kris Ploch
Added: Jun 26, 2020 4:12 PM
Modified: Jun 26, 2020 4:14 PM
Views: 17
  1. def do_something(*args, **kwargs):
  2.     print "args: {} kwargs: {}".format(args, kwargs)
  3.  
  4. def main():
  5.     print("Hello World!")
  6.  
  7.     do_something(a=1, b=3, c="abc")
  8.  
  9.  
  10. if __name__ == "__main__":
  11.     main()