You are viewing our Forum Archives. To view or take place in current topics click here.
python question
Posted:

python questionPosted:

Brap
  • 2 Million
Status: Offline
Joined: Feb 14, 201212Year Member
Posts: 623
Reputation Power: 29
Status: Offline
Joined: Feb 14, 201212Year Member
Posts: 623
Reputation Power: 29
Hello,

im learning python at the moment and was wondering how to make a program that lets someone input text and then the code calculates how many times a letter has occurred in the sentence?

any help would be thankful

-Brap
#2. Posted:
Xaldin
  • TTG Addict
Status: Offline
Joined: Oct 09, 201013Year Member
Posts: 2,358
Reputation Power: 106
Status: Offline
Joined: Oct 09, 201013Year Member
Posts: 2,358
Reputation Power: 106
have the user enter a string then you can use the count function

[ Register or Signin to view external links. ]

other than user input these are answers to your question.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.