Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Второе восхождение
ArifJan
Oct 18th, 2020
40
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
s = input()
if s.count('f') == 1:
print(-1)
elif s.count('f') < 1:
print(-2)
else:
print(s.find('f', s.find('f') + 1))
Add Comment
Please,
Sign In
to add comment
Public Pastes
German Localization
JSON | 15 min ago | 190.45 KB
Untitled
C# | 15 min ago | 0.76 KB
Principale
C++ | 35 min ago | 0.71 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 35 min ago | 0.42 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 38 min ago | 0.39 KB
Popup Box
HTML | 38 min ago | 3.65 KB
12_with_strlen_fun
C++ | 52 min ago | 0.72 KB
ShopTest.java
Java | 1 hour ago | 18.00 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!