• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Python » Python

Data types in Python

By Dinesh Thakur

In this tutorial, we will discuss the required Python data types. It will help you know what options you have in Python.

Python is a type-free language and follows dynamic data binding, i.e., when writing the program, the programmer does not need to declare data type explicitly. The compiler/interpreter decides the type of data during execution. [Read more…] about Data types in Python

Fibonacci Series in Python

By Dinesh Thakur

In this tutorial, we’ll learn how to write the Fibonacci series in python using multiple methods. The Fibonacci series is a series of numbers named after the Italian mathematician, called Fibonacci. A Fibonacci number is characterized by the recurrence relation given under:
[Read more…] about Fibonacci Series in Python

How to Write a Leap Year Program in Python

By Dinesh Thakur

In this tutorial, we’ll write a leap year program in python to check whether the input year is a leap year or not. Before we enter Python leap year programs, Let’s see the Python Leap Year’s definition and logic. [Read more…] about How to Write a Leap Year Program in Python

Armstrong Number In Python Language

By Dinesh Thakur

In this Armstrong Number in python tutorial, we will write a python program for Armstrong’s number (also called narcissistic number). Before we proceed throughout the program, let’s see what’s an Armstrong number, after which we’ll check whether a predetermined number is Armstrong number or not. So within this tutorial, we will discuss more Armstrong numbers in Python and code a program in Python. [Read more…] about Armstrong Number In Python Language

Python

Command Line Arguments in Python

By Dinesh Thakur

What is command line arguments in Python?

You can find Command line arguments in almost every modern programming languages, including C, C++, PHP, Java and others. Python Command line arguments are given after the script name while executing it on the terminal. We also have command-line options to set some specific options for the script. [Read more…] about Command Line Arguments in Python

What is for-loop in Python With examples?

By Dinesh Thakur

In this session of the Python tutorial, you’ll learn in detail about for loop in Python 3. you’ll also know how to use the range() function for loops. You’ll even know how to use else statements with loop, nested for loop, and loop. [Read more…] about What is for-loop in Python With examples?

Python Features | Main Features of Python Programming Language

By Dinesh Thakur

Python is easy to learn. Python language provides many helpful features that make it valuable and popular from many other programming languages. Python is a high-level programming language. It supports object-oriented programming, procedural programming approaches, and offers dynamic memory allocation. Python language provides interfaces to all significant commercial databases. We’ve listed some of the key features of python programming language. [Read more…] about Python Features | Main Features of Python Programming Language

What is a Python List explain with Example

By Dinesh Thakur

A Python list is a sequence of values. It is the most basic mutable type data structure responsible for an ordered set of values and a versatile collection of data objects. An index identifies each item or sometimes in a list.

The list is the most frequently used datatype in Python. Lists are dynamic because they can contain as many variables and handle various data types at a time. [Read more…] about What is a Python List explain with Example

Python Line structure

By Dinesh Thakur

A Python program is divided into a number of logical lines.

Physical and logical lines

A physical line is a sequence of characters terminated by an end-of-line sequence. The end of a logical line is represented by the token NEWLINE. A logical line is ignored (i.e. no NEWLINE token is generated) that contains only spaces, tabs, or a comment. This is called “blank line”. The following code [Read more…] about Python Line structure

Python Operators and Operands – Types of Operators in Python

By Dinesh Thakur

In this Python Operator tutorial, we will learn different types of operators in Python Programming Language, with their syntax and how to use them with examples. [Read more…] about Python Operators and Operands – Types of Operators in Python

Python First Hello World Program

By Dinesh Thakur

We will demonstrate to write a simple Python program, which prints “Hello World”. Type the following lines in IDLE text editor and save it as “HelloWorld.py”. [Read more…] about Python First Hello World Program

Python Condition Statement

By Dinesh Thakur

If Statement, it is also known as a condition statement. If Statement increases the functionality of a Python. The ability to use logic “if-then-else” in your program is one of the most fundamental aspects of programming. Python programming provides an easy way to tell your program what to do if something is true, and what to do if something is false. [Read more…] about Python Condition Statement

Python String Variables

By Dinesh Thakur

Python can manipulate string, which can express in several ways. String literals can be enclosed in matching single quotes(‘) or double quotes(“); e.g. ‘hello’, “hello” etc. They can also enclose in matching groups of three single or double quotes (these generally referred to as triple quoted strings), e.g.” ‘hello”’, “””hello”””. A string is enclosed in double-quotes if the string contains a single quote (and no double quotes); it encloses in single quotes.

[Read more…] about Python String Variables

Python Type of Variable

By Dinesh Thakur

What is a variable in python

Variable is a reserved memory storage location that has an associated symbolic name (called “identifier”), which contains some value (can be literal or other data) that can change. You do not need to declare variables before you use them, or declare its type. An identifier is a name used to identify a variable, function, class, module, or other objects. Literal is a notation for constant values of some built-in type. Literal can be string, plain integer, long integer, floating-point number, imaginary number. All variables in Python are an object. So I create a variable age and name and set that equal to anything i want. For example [Read more…] about Python Type of Variable

How to Install Python on Windows

By Dinesh Thakur

In this Tutorial we truly learn how to download Python, So the Reason behind to download python is because we have to get the idea, we in which we write the python code, it is absolutely necessary to download python before we start writing any python syntax. [Read more…] about How to Install Python on Windows

What is Python? | Introduction to Python Programming

By Dinesh Thakur

Python is an easy to learn, in-demand general-purpose interpreted, interactive, object-oriented, and high-level coding language, i.e. it is not necessary to compile it before you run it.

It invented by Guido van Rossum is popularly referred to as the founder of Python programming throughout 1985- 1990. Python is an interpreted scripting language. Much like Perl, Python source code is also available under the GNU General Public License (GPL).

This tutorial provides enough knowledge on Python programming language. This language was so named in honor the cast of the comic “Monty Python.” Python syntax is straightforward, code indentation (rather than the use of braces) allows for very readable programs and more compact. [Read more…] about What is Python? | Introduction to Python Programming

« Previous Page

Primary Sidebar

Python

Python Tutorials

  • Python - Home
  • Python - Features
  • Python - Installation
  • Python - Hello World
  • Python - Operators Types
  • Python - Data Types
  • Python - Variable Type
  • Python - Switch Case
  • Python - Line Structure
  • Python - String Variables
  • Python - Condition Statement
  • Python - if else Statement
  • Python - for-loop
  • Python - while loop
  • Python - Command Line
  • Python - Regular Expression

Python Collections Data Types

  • Python - List
  • Python - Sets
  • Python - Tuples
  • Python - Dictionary

Python Functions

  • Python - Functions
  • Python - String Functions
  • Python - Lambda Function
  • Python - map() Function

Python Object Oriented

  • Python - Oops Concepts
  • Python - File Handling
  • Python - Exception Handling
  • Python - Multithreading
  • Python - File I/O

Python Data Structure

  • Python - Linked List
  • Python - Bubble Sort
  • Python - Selection Sort
  • Python - Linear Search
  • Python - Binary Search

Python Programs

  • Python - Armstrong Number
  • Python - Leap Year Program
  • Python - Fibonacci Series
  • Python - Factorial Program

Other Links

  • Python - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW