Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
04. Sum Of A Beach
Spocoman
Jan 15th, 2022
(
edited
)
128
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
string
=
input
(
)
.
lower
(
)
words
=
[
'sand'
,
'water'
,
'fish'
,
'sun'
]
counter
=
0
while
len
(
words
)
>
0
:
counter +
=
string
.
count
(
words.
pop
(
0
)
)
print
(
counter
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Lua | 5 min ago | 0.11 KB
EARN $900 INSTANTLY 2025 V9
JavaScript | 9 min ago | 0.05 KB
Make $1000 15-MINUTES (BEGINNER) RV
JavaScript | 26 min ago | 0.05 KB
Market.js
JavaScript | 26 min ago | 1.18 KB
Dictionary of Country Codes Python
Python | 32 min ago | 6.19 KB
arduino download to SPIFFS
C++ | 33 min ago | 1.85 KB
EARN $900 INSTANTLY 2025 D0
JavaScript | 42 min ago | 0.05 KB
Untitled
Rust | 52 min ago | 15.89 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!