Practice Question 6 In this question, we will read a text file and find all the palindromic words present in it. A palindrome is a word that reads the same…
Tag:
Coding Practice
-
-
ProgramsPython Programs
Python: Display Special Symbols from a Text File (Solved)
by Mahesh Vermaby Mahesh VermaPractice Question 2 In this post, we will learn how to write a function that finds and displays all the special symbols (like @, #, $, etc.) present in a…
-
Python Programs
Python: Count Consonants in a Text File (Solved Practice Question)
by Mahesh Vermaby Mahesh VermaPractice Question 1 In this post, we will look at how to read a text file and count the number of consonants. This is a very common logic used in…