Python Basics

Related Tags

Tutorials

Python

Python Examples

Read, understand, and practice these Python examples to better understand the Python language. These simple python programs will help us understand Python’s basic programming concepts. All the programs on this page are tested and should work on all platforms. 1. Python Program to Print Hello World A very simple Python program that displays “Hello, World!” …

Python References

1. Python Inbuilt Functions Python abs() Returns the absolute value of a integer, float; and magnitude of a complex number. Python any() function Checks if at least one element of the Iterable is True. Python all() Returns true when all the elements in the Iterable are True. 2. Python String …

Python Type Conversion and Type Casting

Learn implicit and explicit data type conversions in python. Also learn various type functions used for type conversion and few examples of how to do the typecasting between various python data types. 1. Type Conversion The process, by which one data type is converted to another data type, is called …

Python Keywords

Python keywords are the reserved words and these keywords cannot be used for any other purpose than they have been designed for.

Python Variables (with Examples)

In Python tutorial, learn the basics of variables, naming conventions, and the difference between local and global variables with examples.

Python Single and Multi-Line Comments with Shortcuts

In Python (or any other programming language), comments are used to explain the source code. Comments describe the code, which helps in maintaining the application in the future for ourselves and others. In Python, comments come in two primary forms: single-line comments and multiple-line comments. Let us learn in detail. …

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.