Skip to content

Commit 7c1bb67

Browse files
committed
Added more text on print
1 parent e65f465 commit 7c1bb67

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

_sources/.DS_Store

2 KB
Binary file not shown.

_sources/functions/funcWithListsAndLoops.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ There are several built-in functions in Python that work on lists such as ``max`
7777
~~~~
7878
# function definition
7979
def list_func(my_list):
80-
print(max(my_list))
81-
print(min(my_list))
82-
print(len(my_list))
83-
print(sum(my_list))
80+
print("max", max(my_list))
81+
print("min", min(my_list))
82+
print("len", len(my_list))
83+
print("sum", sum(my_list))
8484

8585
# function definition
8686
def main():

0 commit comments

Comments
 (0)