Python Forum
counting chars in string w/o len
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
counting chars in string w/o len
#3
In addition to what Nilamo said, you want your loop variable to be different from the variable you are using to count the characters.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
counting chars in string w/o len - by johneven - Mar-20-2019, 06:23 PM
RE: counting chars in string w/o len - by nilamo - Mar-20-2019, 07:02 PM
RE: counting chars in string w/o len - by ichabod801 - Mar-20-2019, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Counting the number of occurrences of characters in a string nsadams87xx 1 2,000 Jun-16-2020, 07:22 PM
Last Post: bowlofred
  slicing and counting words in a string Rudy 11 6,599 Mar-17-2019, 10:46 PM
Last Post: micseydel
  Counting only letters in a string PraiseYAH 2 4,627 Jul-20-2018, 11:22 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020