print('-----')
print('TESTE')
print('-----')
print()
lista = ['Joao', 'Joaozinho', 'Rafael']
print(lista)
var = str(input('Digite algum dos nomes da lista:'))
if var == 'Joao' or var == 'João' or var == 'joao' or var == 'JOao' or var == 'JOAO' or var == 'JOão':
print('Qualquer coisa')
elif var == 'Joaozinho' or var == 'JOAOZINHO' or var == 'joaozinho' or var == 'joaoZINHO':
print('Qualquer coisa')
elif var == 'RAFAEL' or var == 'Rafael' or var == 'RAfael':
print('Qualquer coisa')
Basically, what I want to do is the following, I want to check these exemplary names without having to make these various conditions, for example "RAFAEL", "Rafael", and "RAFAEL", even with some capital letters mixed with such as the latter "RAfael", how do I do this?