# find # rfind x = "Austria and nine Balkan states agreed on measures to choke off the flow of refugees from Greece, effectively imposing their own response to the crisis while the E.U. has been paralyzed over it." j = x.rfind('f') s = x.find('f') i = x[::-1] print(i) print(j) print(s) p = i.title() print(p) z = p.replace('E', '$$$$') print(z) w = p.split(' ') print(w) print(w[::2]) print(w[::-3]) ws = '=' e = ws.join(w) print(e) k = 184*5 print(k)
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question