Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
6.4
dvdjaco
Feb 18th, 2012
219
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
# #!/usr/bin/python
#
# By dvdjaco
# Exercise 6.4
#
# test string.count(s, sub[, start[, end]]) by counting the 'a's in 'banana'
print
'banana'
.
count
(
'a'
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Fast Track to $13K in 48 Hours
CSS | 13 min ago | 0.90 KB
Blockchain Exploit Strategy
CSS | 13 min ago | 0.90 KB
Untitled
20 min ago | 4.46 KB
Untitled
2 hours ago | 7.95 KB
Untitled
2 hours ago | 5.16 KB
Secrets.kdbx
2 hours ago | 97.25 KB
Untitled
4 hours ago | 14.71 KB
Untitled
4 hours ago | 0.23 KB
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
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!