Posts by Vinícius Gomes • 55 points
2 posts
-
2
votes1
answer352
viewsQ: How to save a function, with predefined parameters, in a python variable?
Currently I can save functions in variables as follows: def somar_iguais(lista, referencia): resultado = 0 for x in lista: if lista[x] == referencia: resultado += referencia return resultado SOMAR =…
-
3
votes2
answers984
viewsQ: Simulate keyboard typing programmatically in c
The problem: I need my C program to write like a keyboard. When I open google, for example, and click on the search field I would like to keep showing several 'a'. As if the key was pressed on the…