import re
x = input('text')
n = '[a-z0-9]+[@][g][m][a][i][l][.][c][o][m]$'
match = re.fullmatch(n, x)
if match is not None:
    print('valid  no')
else:
    print('invalid  no')

33e1a072cadb4c780b140098ed2f637af40641e0
<mask token>

<mask token>
if match is not None:
    print('valid  no')
else:
    print('invalid  no')

<mask token>
x = input('text')
n = '[a-z0-9]+[@][g][m][a][i][l][.][c][o][m]$'
match = re.fullmatch(n, x)
if match is not None:
    print('valid  no')
else:
    print('invalid  no')

import re
x = input('text')
n = '[a-z0-9]+[@][g][m][a][i][l][.][c][o][m]$'
match = re.fullmatch(n, x)
if match is not None:
    print('valid  no')
else:
    print('invalid  no')
