list – Page 2 – POFTUT

Python Variables and Types

Python programming language provides different data types in order to use data in applications. We generally use variables in order to store our data. As the name suggests variables can be changed during their lifetime. In this tutorial we will look different features and options of Python variables. Create and Assign Value To Variable Assigning … Read more

In Python Operator Usage Tutorial with Examples

Python provides a lot of operators for comparison, checking existence etc. in operator is very popular operator used to check given values in given variables, list, dictionaries etc. In this tutorial we will look different use cases and examples of in operator. Check List Python lists provides elements in single item like an array. in keyword can be … Read more

How To Convert Python String Into List?

Python string is handled as string list while interacting with characters. But one of the most used situation is how can I convert string words into python list? There are different ways to accomplish this. We will look some of them below. String As Character List As we stated previously strings are character list in … Read more

Python JSON Encoder and Decoder Tutorial with Examples

JSON or Javascript Object Notations is a RFC standard which is used to define complex data types with number 7159.  JSON became very popular in recent years because of its compatibility and simplicity. Python have rich support web applications and popular framework Django is developed with python too. So we generally need to use JSON with … Read more

Python Set Data Structure With Examples

Python provides different structures to hold data. We have all ready looked list and dictionary in this site. Today we will look usage examples and features of python set. Set have same properties and behaviour of mathematical set. Sets have following features unordered means the order is not important and do not expect same order for … Read more

Python For Loop Tutorial With Examples and Range/Xrange Functions

For loop is used to iterate over given sequence. Sequence can be a list, dictionary or similar enumerable object for python programming language. For loop is a bit different from other languages like C, C++, Java … For loop in python mainly uses object to iterate but in other languages counting and statements are used … Read more

Python Array or List Tutorial

Python Array or List Tutorial

Python provides different data structures to store, modify, select, remove data. The most popular data structure is list. A list is used to store sequential data in a single variable. Being sequential gives abilities like sort, list, add, index, loop, etc. Python Array or List Python lists are very similar and provide the same functionality … Read more

Random Number Generator In Python

Python is practical language which provides different functions in practical way. Random number are generally used in security related issues but there are other areas too. In this post we will look different random number generation examples about python. Generate Random Number Between 0 and 1 Python provides a library named random by default. This library … Read more

Dictionary In Python Tutorial

Dictionary In Python Tutorial

Dictionaries are complex data structures that hold information about the different types and related information. Dictionaries also called associative memories or associative arrays in different languages. Dictionaries generally format in key and value pair. Keys are used to label and search and find values. Create Dictionary As we say before we will provide key and value pairs. In this … Read more

For Loops In Windows With MS-DOS Command Prompt

Windows operating system provides MS-DOS from easily days of its creation. MS-DOS is a platform generally used as a command line. MD-DOS have a lot of features those provides programming capabilities. In this tutorial we will look for loop which provides looping and enumeration capabilities for command line. Help Help about for loop can be get like … Read more