You've already forked ui-cviko1
2.3 KiB
2.3 KiB
In [3]:
import re
matches = re.match("I feel (.*)", "I feel happy today")
In [2]:
print(matches)
In [3]:
matches.groups()
Out[3]:
In [4]:
"this is my first value = {}".format(3)
Out[4]:
In [1]:
"{} first and {} second".format("f1", "f2")
Out[1]:
In [4]:
"Why do you feel {}?".format(matches.groups())
Out[4]: