import re 

regex = r'\b[A-Za-z0-9._%+-]+@gmail+\.[com|edu]'
email = input('Your Email Please !!!\n')
if(re.search(regex, email)):
    print("Valid Email")
else:
    print("Invalid Email")
bcd3d9d8d54e2c43dd209b67084450772c6c869f
<mask token>

<mask token>
if re.search(regex, email):
    print('Valid Email')
else:
    print('Invalid Email')

<mask token>
regex = '\\b[A-Za-z0-9._%+-]+@gmail+\\.[com|edu]'
email = input('Your Email Please !!!\n')
if re.search(regex, email):
    print('Valid Email')
else:
    print('Invalid Email')

import re
regex = '\\b[A-Za-z0-9._%+-]+@gmail+\\.[com|edu]'
email = input('Your Email Please !!!\n')
if re.search(regex, email):
    print('Valid Email')
else:
    print('Invalid Email')

import re 

regex = r'\b[A-Za-z0-9._%+-]+@gmail+\.[com|edu]'
email = input('Your Email Please !!!\n')
if(re.search(regex, email)):
    print("Valid Email")
else:
    print("Invalid Email")