3 ms·
I like the dictionaries have get() method tip; So you dont have to worry about unwanted exceptions in code. Then just check for the None case.
by googletron 15y ago
I like the dictionaries have get() method tip; So you dont have to worry about unwanted exceptions in code. Then just check for the None case.