Posts by D Ajay

Author Biographical Info: Not available

itertools.cycle() in Python

By D Ajay

Hello Coder, this tutorial deals with a program to demonstrate the usage of cycle() method from itertools package. Learn itertools.cycle() in Python with examples. Let’s star.... Read More

Check if a string is lapindrome or not in Python

By D Ajay

Hello Coders, this tutorial deals with a program to check whether a string is lapindrome or not in Python. Also, we can say that we will check if the strings have same set of chara.... Read More

0/1 knapsack algorithm in Python

By D Ajay

Hello Coders, this tutorial deals with a Python program to implement the 0/1 knapsack algorithm. Let’s start. 0/1 knapsack in Python Given the weights and values of n items, .... Read More

Check a number is Narcissistic number or not in Python

By D Ajay

Hello Coders, this tutorial deals with a program to check whether a number is a Narcissistic number or not in Python. Let’s start. We will see a simple example here to unders.... 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

Detect keypress in Tkinter in Python

By D Ajay

Hello Coders, this tutorial deals with a program to detect keypress using Tkinter in Python. Before reading this article I recommend you to learn about Event Handling and events ra.... Read More

Tkinter tkFileDialog module in Python

By D Ajay

Hello coders, this tutorial deals with a program to open and save a file using Tkinter. But if you don’t know the basics of the Tkinter module then please refer this link Int.... Read More

How to create a popup window in Tkinter – Python

By D Ajay

Hello coders, this tutorial deals with creating a popup window in Tkinter. To learn the basics of the Tkinter module you can refer to this Introduction to Tkinter module. Create a .... Read More