Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 6th, 2018 54 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. def countLetterString(searchChar, fileName):
  2.         count = 0
  3.         for currentChar in open(fileName):
  4.             if currentChar == searchChar:
  5.                 count += 1
  6.         print("Total search character count is: ")
  7.         print(count)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top