Popular programming languages used by programmers on GitHub

1. JavaScript Ranked at first position, JavaScript is one of the most widespread programming languages nowadays. It is a popular, powerful, dynamic, scripting language that is used to create cool websites and games for the web. It derives much of its syntax from The C Language. JavaScript is compatible across all browsers and is used... Continue Reading →

Advertisements

Hashing in Python? Dictionaries to the rescue!

Dictionaries are data structures which work in KEY-VALUE pairs separated by colon(:) symbol. Keys are used to access elements of dictionaries and keys can be strings,numbers,etc. Dictionaries are mutable which means we can easily modify contents of Dictionaries! Hashing is a cool technique which can help us retrieve any record in constant amount of time let's... Continue Reading →

Opening a Webpage Using Python

Opening a webpage using programming sounds a little tricky, but Python is here to help! The webbrowser module in Python can be used to open any webpage or website. See the following example: import webbrowser webbrowser.open('www.google.com', new=2) Setting new=2 makes your webpage open on a new window!

Comparing Sequences and other types​

Sequence objects may be compared to other objects with the same sequence type. The comparison uses lexicographical ordering: first, the first two items are compared, and if they differ this determines the outcome of the comparison; if they are equal, the next two items are compared, and so on

Python Integer Numbers

These represent numbers in the range -2147483648 through 2147483647. When the result of an operation would fall outside this range, the result is normally returned as a long integer (in some cases, the exception OverflowError is raised instead).

Knowing data type of a variable!

As we all know that Python changes the type of variable during run time as per it's need. But sometimes we need to see type of variable before performing some operations or calculations further on that variable. So,in order to find data type of a variable use in built function type() >>> firstNumber = 10... Continue Reading →

Create a website or blog at WordPress.com

Up ↑