Skip to main content

Posts

Featured

Write a program VowelCounts.py that reads in ga.txt and counts the number of each kind of vowel, printing the results for each vowel to the terminal. Annotate the output so that it is understandable.

 # Open file in Read Mode  f=open("ga.txt","r")  # Read Entire File and Assign it in to the Variable fread=f.read() #Count Vowels print("Count of A : ",fread.count('a')+fread.count('A')) print("Count of E : ",fread.count('e')+fread.count('E')) print("Count of I : ",fread.count('i')+fread.count('I')) print("Count of O : ",fread.count('o')+fread.count('O')) print("Count of U : ",fread.count('u')+fread.count('U')) # Close File f.close()

Latest Posts

Increase Kali Linux Update Speed using VPN

Download Apk Exractor Pro Apk

Concatenation of Second String with first using Sticky Form in PHP

BSc Computer Science TyBCs Eqps pdf download

Sacred Game (2019) Season 2 All in One Episode Download

HARDY SANDHU'S BACKBONE 720P FULL HD SONG VIDEO

Daru_Badnaam___Song Video Full HD 2018

KABIR .SINGH 2019 FULL HD 720P DOWNLOAD . HINDI 1GB.PreDvDRip.x264.AAC.

All about kabir singh ,story , character, boxoffice , Collections and facts that hidden from everyone