Write a program that will print everything that is between the <START> and <END> tags of an input string.
Regexp functions in Python
Data extraction
Report a typo
Sample Input 1:
Something\n<START>\nsomething\n<END>\nsomethingSample Output 1:
\nsomething\nWrite a program in Python 3
import re
string = input()
# your code
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.