Posts by Pedro Henrique Monforte • 171 points
5 posts
-
0
votes2
answers11645
viewsA: How to create graphical interface in Python?
All right? If you’re used to VBA, VB and C# maybe income well using the Visual Studio Community Edition which is free and uses Ironpython to create forms and programs in visual mode. Other…
-
0
votes2
answers370
viewsA: How to verify which numbers of a matrix are primes?
Sidon’s response is partially correct, but the function is_prime(n) is limited to the range 0 to 340, a function is_prime_Corrected(n) was made in the example below and demonstrates how is_prime(n)…
pythonanswered Pedro Henrique Monforte 171 -
-1
votes1
answer181
viewsA: Distance between a line and a point in three-dimensional space
"Let’s say there are three points in a 3D space (points A, B and P). Let’s also say that there is a line that goes through A and B." What I’m trying to do, in fact, is to find out if an AB line…
-
1
votes2
answers686
viewsA: Is it possible to input in the middle of a Python 3 print?
I think this is what you want: python # Definimos o começo e o fim da frase: começo_da_frase = "Eu quero digitar " fim_da_frase = "____ palavras" espaço = len(começo_da_frase)*" "…
-
3
votes1
answer92
viewsA: How to create a condition "if all the elements of a list then inside a set list" (Python)?
His question was: As the list d is equal to [0.1] and the list of sets (sets) "g" is equal to [{3, 4}, {0, 1}], because 'done' is not printed? The answer to the question is: "Since d is a list and g…