Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
Disabled
×
Change Orientation
import re txt = "hello world" #Check if the string ends with 'world': x = re.findall("world$", txt) if (x): print("Yes, the string ends with 'world'") else: print("No match")
Yes, the string ends with 'world'
×
Report a Problem:
Your E-mail:
Page address:
Description:
Disabled