Answered step by step
Verified Expert Solution
Question
1 Approved Answer
def analyze _ alpahbet ( text ) : unique _ letter = #unique letterimizi ba ta bo olarak tan mayal m letter _
def analyzealpahbettext:
uniqueletter #unique letterimizi bata bo olarak tanmayalm
lettercount # letter countumuzu bata sfr alalm
for letter in text :
if not letter in uniqueletter:
uniqueletter letter
for i in uniqueletter:
lettercount.append
for i in rangelenuniqueletter:
for j in rangelentext:
if textj uniqueletteri:
lettercounti
return uniqueletter, lettercount
def main:
alphabet "abnmjffoefelifsuelifsuelifsuelfisuelfsu
uniqueletter lettercount analyzealpahbetalphabet
printuniqueletter
printlettercount
main can you expalinin to the for i in range parts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started