sexo = ''
while sexo != 'F' and sexo != 'M':
    sexo = str(input('Digite o sexo: ')).strip().upper()[0]
print('ACABOU')

a992f504155e9a62db4bab6aa7cd42ee51b6dae7
<mask token>

<mask token>
while sexo != 'F' and sexo != 'M':
    sexo = str(input('Digite o sexo: ')).strip().upper()[0]
print('ACABOU')

sexo = ''
while sexo != 'F' and sexo != 'M':
    sexo = str(input('Digite o sexo: ')).strip().upper()[0]
print('ACABOU')
