Most used Word in a Sentence – Python Ways

Python code to find out Most used Word in a Sentence using python dictionary and simple for loop. This code finds the most used words in a sentence or from a text file.

Print File content in reverse order – Python

Print File content in reverse order using Python – is very much simple if you know how python read and readline functions work.

File handling in Python [ All Text File, Binary File operations with Source code ]

A complete article on text file handling as well as binary file handling with basic function for both types of files like file creation, update, deletion and searching data.

How to use Unicode in Python

How to use Unicode in Python. This simple program will guide you how you can unicode in python and what are the limitations

Reverse Words of any string – Python Code

A program in python that accept on a string from the keyboard and print the whole string in reverse order. It should not reverse the words, it should only reverse the order of these words. 

Cows and Bulls Problem – Python Solution

lets us program a game to play the “cows and bulls” with the user. The game works like this: Randomly generate a 4-digit number. Ask the user to guess a 4-digit number. For every digit that the user guessed correctly in the correct place, they have a “cow”. For every digit the user guessed correctly in the […]