Python working with functions

Python working with functions

A function in python defined as a a group of statements that required to perform a task which takes required inputs and returns the output. We have two types of functions 1. built-in functions and 2. user defined functions.  We have many built-in functions in python. You can see the list of ...

Read more

Python working with while loop

Python working with while loop

Let's start working with while loop in python. While loop is used to execute a block of code until certain condition is met. we can also terminate it before using the python keyword "break" If condition is not met then it will run for infinite number of times and we should avoid it. Unlike for lo...

Read more

Python working with dict data type

Python working with dict data type

Lets start working with dict data type in python. Dictionary is collection of unordered set of key, value pairs.  We can create an empty dictionary with the empty braces {}.  dict data type in python is one of the most used datatypes in python builtin data types. We can only able t...

Read more

Python working with set data type

Python working with set data type

Lets start working with set data type in python. Set is a heterogeneous un-ordered set of elements with no repetition. set data structure is also just like frozensets. The only difference between sets and frozensets is sets are immutable where as frozensets are not mmutable in nature.  we ca...

Read more

usage of property decorator in python

usage of property decorator in python

In this article we will learn about usage of property decorator in python. "property" is a built-in decorator in python. "property" is mostly used with classes. The decorator "property" makes the method that acts like an attribute to the python class. "property"  is a callable object in...

Read more

deploy django app with apache server on ubuntu

deploy django app with apache server on ubuntu

In this article we will learn about how to deploy django app on apache server. Apache server is a free and open-source HTTP server that is free to use. It is a cross platform web-server, It support's most of the operating systems like windows, linux, Mac, etc. Apache server is not intended to use...

Read more

Python working with numbers

Python working with numbers

Python has four basic number types. 1. Integers(int),  2. Floating point numbers(float),  3. Long integers(long),  4. Complex Numbers(complex). All these numeric types are immutable data types, it means changing the value of a numeric data type will results in a newly cre...

Read more

Python working with operators

Python working with operators

In this article we will learn about different types of operators & working with operators in python. An operator is a symbol or a character in programming which takes two operands to perform an action. For example, in the expression "4 + 5" , "+" is an operator It will perform sum of num...

Read more

Python working with boolean data type

Python working with boolean data type

Boolean data type is a one of the data types in python programming language. Boolean data has only two values True and False. It is mostly used to check whether the given statement is correct or not. It is the most used data type in any programming languages. Boolean data intended to us...

Read more
Blog Archive