Posts by Raposa Clonada • 35 points
2 posts
-
1
votes1
answer244
viewsQ: Error involving Nonetype
I made a very simple code to simulate lines in python: lista = [] def a(lista): return lista.append(str(input('Nome: ')).lower().strip()) def b(lista: list): if len(lista) == 0: print('A lista está…
-
2
votes2
answers342
viewsQ: Validate an expression based on which parentheses should close
I’m solving a Python exercise where I had to validate an expression based on which the parentheses should close right: Create a program where the user type an expression that uses parentheses. Your…