Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7578aca

Browse files
committed
Separate output from commands in Working with data/Sequences
1 parent 36d4382 commit 7578aca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Notes/02_Working_with_data/04_Sequences.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,10 @@ There are some common functions to reduce a sequence to a single value.
9898
>>> s = [1, 2, 3, 4]
9999
>>> sum(s)
100100
10
101-
>>> min(s) 1
102-
>>> max(s) 4
101+
>>> min(s)
102+
1
103+
>>> max(s)
104+
4
103105
>>> t = ['Hello', 'World']
104106
>>> max(t)
105107
'World'

0 commit comments

Comments
 (0)