Dictionaries have a get() method

Okay here we are with yet another post. However this post is going to be short as in this post i am going to teach you a small, simple and very useful trick. Have you ever tried to access a value from a Continue reading Dictionaries have a get() method

Advertisements

The use of return and global keywords.

Okay so here we have another post. This post is about the return keyword. you might have encountered some functions written in python which have a return keyword in the end of the function. Do you know what it does ? Continue reading The use of return and global keywords.