initial creation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
def spam(greeting, whom='world'): # <1>
|
||||
print("{}, {}".format(greeting, whom))
|
||||
|
||||
|
||||
spam("Hello", "Mom") # <2>
|
||||
spam("Hello") # <3>
|
||||
print()
|
||||
|
||||
def ham(*, file_name, file_format='txt'): # <4>
|
||||
print("Processing {} as {}".format(file_name, file_format))
|
||||
|
||||
ham(file_name='eggs') # <5>
|
||||
ham(file_name='toast', file_format='csv')
|
||||
Reference in New Issue
Block a user