2
I am creating a script and in a snippet I create a list and then use the strip() function next to the upper() inside the v1 input, but when calling the script and executing it does not return anything, how can I solve this?
....
opcao_sim = ('SIM','YES')
opcao_nao = ('NÃO','NO')
v1 = str(input('Deseja criar um repositorio? n[s]: ')).strip().upper()[0]
if v1 in op_sim:
print('ok! bons estudos XD')
sys.exit(0)
...