Answers for "re contains"

1

re contains

fullstring = "StackAbuse"
substring = "tack"

if substring in fullstring:
    print "Found!"
else:
    print "Not found!"
Posted by: Guest on October-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language