Posts by willer quintanilha • 100 points
7 posts
-
0
votes1
answer51
viewsA: need to do a function similar to a search in an agenda
Hello John you have made some mistakes in understanding the data structure and how to perform the return of this data def busca_contato(lista_contatos, nome_pesquisa): contatos = list() for contato…
-
0
votes2
answers104
viewsA: I don’t understand why my program isn’t working
Hello Gustavo you made a mistake in this line : d2 = str(input("Informe seu sexo [M/F]: ")).upper The right thing would be: d2 = str(input("Informe seu sexo [M/F]: ")).upper() In addition I…
pythonanswered willer quintanilha 100 -
1
votes2
answers68
viewsQ: Regex extract substring from text delimited by an end pattern that repeats in the text (Starttextofim Starttextofim)
I aim to perform the extraction of the substring delimited by ENTER and Tempo de viagem total:4h 05m in the text below: For this I built the following regular expression: ENTER[\S\s]+Tempo de viagem…
-
0
votes1
answer79
viewsA: Doubt in algorithmic analysis
Recital O as upper limit of F(n) Whereas Omega is the lower limit of G(n) We have: F(n) = Omega (G(n)) -> F(n) <= G(n) G(n) = O(F(n)) -> G(n) >= F(n) F(n) <= G(n) <=> G(n) >=…
answered willer quintanilha 100 -
2
votes1
answer218
viewsA: Stack implementation in C, how to pass values?
Hello I made a small correction, with this change will be passed as argument an int value of the array elements, present in the struct info of the kind pile, instead of the struct info in itself,…
-
1
votes2
answers3792
viewsA: Source is not recognized as an internal command
The Activate command has the purpose of activating a previously created virtual environment, if you already have a virtual environment created, configured and want to activate it the command is:…
pathanswered willer quintanilha 100 -
1
votes1
answer82
viewsA: Python versus C++
According to the documentation of Opencv How Opencv-Python bindings are generated? In Opencv, all Algorithms are implemented in C++. But These Algorithms can be used from Different Languages like…
c++answered willer quintanilha 100