1
n1 = input('Qual é o seu bolo favorito?')
if n1 = 'Bolo de Chocolate':
print('teste123')
If the user writes "Chocolate Cake" all in minuscule or all in uppercase, it will happen not to enter the if
that I created, does anyone know if it has any function that ignores if it is uppercase or lowercase?
Did any of the answers solve your question? Do you think you can accept one of them? Check out the [tour] how to do this, if you haven’t already. You would help the community by identifying what was the best solution for you. You can accept only one of them. But you can vote on any question or answer you find useful on the entire site (when you have enough score).
– Maniero