diff --git a/basics.py b/basics.py index 12379fc..40cff72 100644 --- a/basics.py +++ b/basics.py @@ -1,4 +1,2 @@ -def find_sum(**kwargs): - return sum(kwargs.values()) - -print(find_sum(a=4, b=3, c=2)) \ No newline at end of file +myfile = open("fruits.txt") +print(myfile.read()) \ No newline at end of file diff --git a/fruits.txt b/fruits.txt new file mode 100644 index 0000000..9e55d1b --- /dev/null +++ b/fruits.txt @@ -0,0 +1,6 @@ +pear +apple +orange +mandarin +watermelon +pomegranate \ No newline at end of file