Posts from Python

Drawing Different Shapes in pygame Using Python

By Deepak Reddy

In this module, we are going to learn how to draw various shapes like polygon, rectangle, circle, ellipse, etc. in pygame using Python programming. How to draw Shapes using pygame..... Read More

Postorder tree traversal in Python

By Prashanth Gowda R S

In this tutorial, we will learn about the Postorder traversal of a tree data structure in Python. It is one of the three variants of the Depth-first search. Postorder tree traversa.... Read More

Define a function inside a function in Python

By Deepanshu Dashora

This tutorial will guide you to learn how to define a function inside a function in Python. You can also name it a nested function. Introduction: Using a function inside a function.... Read More

Level order tree traversal in Python

By Prashanth Gowda R S

A tree data structure can be traversed in many ways. Generally, there are two types of tree traversal(Breadth-first search and Depth-first search). In this tutorial, we will learn .... Read More

Preorder tree traversal in Python

By Prashanth Gowda R S

In this tutorial, we will learn one of the three ways of Depth-first searches that is the Preorder traversal of a tree data structure with recursion in Python. It is also known as .... Read More

Inorder tree traversal in Python

By Prashanth Gowda R S

Tree traversal means visiting each node of a tree data structure in a specific order. Tree traversals are classified based on the order in which the nodes are visited. Generally, t.... Read More

Is Python interpreted or compiled?

By Rashi Singh

In this tutorial, you will learn about interpreted languages and compiled languages. Also, see if Python is interpreted or compiled programming language. What are interpreted langu.... Read More

How to take multiple inputs in a single line: Python?

By D Ajay

Hello Coders, this tutorial deals with a program to take multiple inputs in a single line in Python. Let us see a code to take one input. s=input('Enter a character:') Using the ab.... Read More

Related Posts