Lesson 71
This commit is contained in:
parent
75b628d474
commit
d2f60c6bb0
@ -1,4 +1,2 @@
|
|||||||
def find_sum(**kwargs):
|
myfile = open("fruits.txt")
|
||||||
return sum(kwargs.values())
|
print(myfile.read())
|
||||||
|
|
||||||
print(find_sum(a=4, b=3, c=2))
|
|
6
fruits.txt
Normal file
6
fruits.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
pear
|
||||||
|
apple
|
||||||
|
orange
|
||||||
|
mandarin
|
||||||
|
watermelon
|
||||||
|
pomegranate
|
Loading…
Reference in New Issue
Block a user