Skip to content

Commit 6ac6f59

Browse files
authored
Content and Description
Content and Description
1 parent 074df3e commit 6ac6f59

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Diff for: README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,29 @@ Run the code.
55

66
Python
77
```python
8+
print()
9+
message = 'Welcome to my humble abode!'
10+
number = '192746'
11+
print(message)
12+
print(number)
813

14+
message_sorter = sorted(message)
15+
number_sorted = sorted(number)
16+
17+
print(message_sorter)
18+
print(number_sorted)
19+
20+
print('Sort strings by words:')
21+
message_sorter_word = sorted(message.split())
22+
print(message_sorter_word)
923
```
1024

1125
Output
1226
```python
13-
27+
Welcome to my humble abode!
28+
192746
29+
[' ', ' ', ' ', ' ', '!', 'W', 'a', 'b', 'b', 'c', 'd', 'e', 'e', 'e', 'e', 'h', 'l', 'l', 'm', 'm', 'm', 'o', 'o', 'o', 't', 'u', 'y']
30+
['1', '2', '4', '6', '7', '9']
31+
Sort strings by words:
32+
['Welcome', 'abode!', 'humble', 'my', 'to']
1433
```

0 commit comments

Comments
 (0)