import re
str = input("enter u r name") 
  
matches = re.findall("m", str)     #This method returns a list containing a list of all matches
print(matches) 


b = re.search("o", str)            #return how many matches occur
print(b) 
print(b.span())                    #return position
72eead9a8ebd7608d748071ed43d51f19e182d40
<mask token>

<mask token>
print(matches)
<mask token>
print(b)
print(b.span())

<mask token>
str = input('enter u r name')
matches = re.findall('m', str)
print(matches)
b = re.search('o', str)
print(b)
print(b.span())

import re
str = input('enter u r name')
matches = re.findall('m', str)
print(matches)
b = re.search('o', str)
print(b)
print(b.span())

import re
str = input("enter u r name") 
  
matches = re.findall("m", str)     #This method returns a list containing a list of all matches
print(matches) 


b = re.search("o", str)            #return how many matches occur
print(b) 
print(b.span())                    #return position