Comments are a line of code which is not read and executed as part of the program. It is very useful while editing and debugging the program.
Python Tutorials
Our Python tutorials are up-to-date and well-explained step-by-step using examples so you can learn Python fast.
Dictionary in Python
Dictionary in Python is similar to an associative array in PHP. Dictionary are create using curly braces {} inside it the key is separated with items using a colon (:). For accessing items of a dictionary, the key is been for this. Dictionary is mutable. Contents Creating a Dictionary Accessing Dictionary Update Dictionary Delete Dictionary Dictionary … Read more
Sequences and Lists in Python
In Python, a sequence is a set of ordered list. They are differentiated by their index number. The index starts from zero. Two basic types of sequence in Python are list and tuple.
Declare a variable in Python
Variables are the temporary placeholder for storing the value which has a unique name. In Python, you don’t need to declare the type of variable, this is done internally according to the value assigned.