functions in python

Functions in Python-: Functions are the most important aspect of an application. A function can be defined as the organised block of reusable code which can be called whenever required. A function is a block of organised, reusable code that is used to perform a single related action. In other words we can say that the … Read more

dictionary python

Dictionary Python-: Dictionaries are powerful data structures, used for many purposes even within Python itself. Dictionary keys must be immutable, but any immutable object can be a dictionary key. Using keys means accessing collections of data more directly and with less code than many other solutions. Python’s name for associative arrays or maps which it implements … Read more

format string python

Python Format String Method-: Python strings have powerful text-processing features, including searching and replacing, trimming characters, and changing case.Strings are immutable they can not be changed in place.Operations that appear to change strings actually return a copy with the changes. We know that this is the part of string. we can format strings in Python 3 in … Read more

python string

Python String-:  Strings can be created by enclosing the character or the sequence of characters in the quotes. Python allows us to use single quotes, double quotes, or triple quotes to create the string.For example str=” welcome in python” String Method in Python-: Most of the Python string methods are built into the standard Python string class … Read more

sets in python

Sets in Python-: A set in Python is an unordered collection of objects used when membership and uniqueness in the set are main things we need to know about that object. Like dictionary keys  the items in a set must be immutable and hash-able. This means that  floats, strings, and tuples can be members of a … Read more

tuples in python

Tuples -: Tuples are data structures this is very similar to lists but tuples can not be modified.  Tuples  can only be created. Tuples are so much like lists that you may wonder why Python bothers to include them. The reason is that tuples have important roles that ca not be efficiently filled by lists such as … Read more

python list append

Python List-: Python has a powerful built in list types. Lists  are like array. A list in Python is much the same thing as an array in Java or C or any other language. It is  an ordered collection of objects. we create a list by enclosing a comma-separated list of elements in square brackets as … Read more

python data types

Python Data Types-: Python has several built-in data types such as integers, floats, complex numbers, strings, lists, tuples, dictionaries, and file objects. These data types are manipulated using language operators, built-in functions, library functions, or a data type’s own methods. Built In Data Type-: Python has several built-in data types, from scalars such as numbers and … Read more

install python

Install Python-: After  downloading, installing, and starting up Python and IDLE, an integrated development environment for Python. At this writing, Python 3.6 is the most current version, and 3.7 is under development. After years of refinement, Python 3 is the first version of the language that isn’t fully backward-compatible with earlier versions so be sure … Read more

python features

Python Features-:  We know that the Python is a general purpose, dynamic, high level and interpreted programming language. It support Object Oriented programming approach to develop applications. Python is a modern programming language developed by Guido van Rossum in the 1991  (and named after a famous comedic troupe). Although Python isn’t perfect for every application, its … Read more