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 »

python introduction

Python Introduction-: Python is a most popular programming language. It was created in 1991 by Guido van Rossum. Python is used for web development (server-side), software development,mathematics,system scripting. Python is a general purpose, dynamic, high level and interpreted programming language. It support Object Oriented programming approach to develop applications. It is simple and easy to… Read More »

pointers in c#

Unsafe code in c#-: The core C# language differs notably from C and C++ in its omission of pointers as a data type. In  C# provides references and the ability to create objects that are managed by a garbage collector. This design, coupled with other features, makes C# a much safer language than C or C++.… Read More »

abstract class in c#

Abstract class in c# -: This is a type of class in c# language.An abstract class provides a partial implementation that other classes can build on. When a class is declared as abstract, it means that the class can contain incomplete members that must be implemented in derived classes, in addition to normal class members.… Read More »

namespace in c#

Namespace -: Namespaces provide a way to group related top-level members into a hierarchy. They are also used to avoid naming conflicts. A top-level member, such as a class, that is not included in a namespace is said to belong to the default namespace. It can be moved to another namespace by being enclosed in a… Read More »

generics in c#

Generic in c# -: Generics refer to the use of type parameters, which provide a way to design code templates that can operate with different data types. Specifically, it is possible to create generic methods, classes, interfaces, delegates, and events. Generic Methods-:  In the following example, there is a method that swaps two integer arguments. as like… Read More »