Simple python Programs

How to use Regular expressions in Python

Download Final Year Projects   How to use Regular expressions in Python This tutorial discusses how to use regular expressions in Python with simple programming examples. To find patterns and to extract various bits of lines, we can use string methods like split() and find() and using lists and string slicing to extract a substring of the lines. #find function on strings str1

How to use Regular expressions in Python Read More »

Python program to count the frequency of each character in the string

Download Final Year Projects   Problem Definition Develop a Python program to count the number of times each character appears in the string that is the frequency of character in the string. Video Tutorial Steps using “in” operator First, create a string variable, accept the string from the user and store it into a variable.

Python program to count the frequency of each character in the string Read More »