Posts by Paulo Sérgio • 13 points
5 posts
-
0
votes3
answers1128
viewsQ: Modulenotfounderror: No module named 'sklearn.externals.Six'
I cannot run the script, because it is accusing that there is no module 'sklearn.externals.six'. I’ve looked for solutions, I’ve remade the venv and not the right one. Has this module become…
-
1
votes2
answers53
viewsQ: Random number generation in a function is always equal - C
#include<stdio.h> #include <time.h> #include <stdlib.h> int aleatorio(){ srand(time(NULL)); return rand() % 10 + 1; } main(){ int numero1 = aleatorio(); int numero2 = aleatorio();…
casked Paulo Sérgio 13 -
0
votes1
answer44
viewsQ: Problem with Javascript String
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
javascriptasked Paulo Sérgio 13 -
0
votes3
answers108
viewsQ: Problems with a C program
I’m having trouble developing a program that solves the problem below: Write a program that reads two integers M and N and calculate the average arithmetic of the prime numbers of the range [M, N].…
casked Paulo Sérgio 13 -
0
votes1
answer38
viewsQ: Problems with logic in a program
//EXERCICIO 103 //VERIFICAR SE UM NÚMERO É PRIMO #include<stdio.h> #include<locale.h> main(){ setlocale(LC_ALL,""); int n,k,cont,div; printf("Informe um número: "); scanf("%d",&n);…