Skip to content

Commit 0374f87

Browse files
com
1 parent 29dcca8 commit 0374f87

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

DICT @@@.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,5 @@ convert list [1, 2, 3, 4, 5] into dictionary using numbers in list as keys >
4242

4343
using previous method create dict using range from 1 to 10 keys and all values 0 >> > {}.fromkeys(range(1,11), 0)
4444

45-
string 'diwjalibabas' turn it into dict: keys = letters , values = times
46-
4745
ages = {'kaja': '21', 'maid': '24'}
4846
complete a string f'kaja ma {age} lat' > > age = ages.get('kaja', Unknown) unknown will pop ifd person doesnt exist in dict

0 commit comments

Comments
 (0)