Added week 9
This commit is contained in:
13
week9/ex1.py
Normal file
13
week9/ex1.py
Normal file
@@ -0,0 +1,13 @@
|
||||
def func0(name,age,*args,**kwargs):
|
||||
print(f"Name: {name}; Age: {age}")
|
||||
if args or kwargs:
|
||||
print(f"More args provided: {args} {kwargs}")
|
||||
|
||||
def main():
|
||||
print('==Exercise 1==')
|
||||
func0("Jeffery Alexander",18)
|
||||
print('==End Of Ex1==')
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user