Skip to content

Commit e121462

Browse files
authored
Merge pull request #3 from ssssank/fix_code_style
Fix code style
2 parents d8206e0 + 72399c0 commit e121462

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ pip install hexlet-pairs
1414

1515
<!-- This code will be doctested. Do not touch the markup! -->
1616

17-
>>> from hexlet import pairs
18-
>>> p = pairs.cons(42, 'foo')
19-
>>> pairs.is_pair(p)
20-
True
21-
>>> pairs.car(p)
22-
42
23-
>>> pairs.cdr(p)
24-
'foo'
25-
>>> print(pairs.to_string(p))
26-
cons(42, 'foo')
17+
from hexlet import pairs
18+
p = pairs.cons(42, 'foo')
19+
pairs.is_pair(p) # True
20+
pairs.car(p) # 42
21+
pairs.cdr(p) # 'foo'
22+
print(pairs.to_string(p)) # cons(42, 'foo')
2723

2824
[![Hexlet Ltd. logo](https://raw.githubusercontent.com/Hexlet/assets/master/images/hexlet_logo128.png)](https://ru.hexlet.io/pages/about)
2925

0 commit comments

Comments
 (0)