Posts by Albion • 407 points
3 posts
-
1
votes1
answer113
viewsQ: Power using recursion
Well, I’m doing a basic code in C, I’m not very good with this language, I’m learning it, although I’ve seen it not used much. It consists of doing the power operation through recursion. The problem…
-
19
votes1
answer2421
viewsQ: How does this code that generates a maze work?
I don’t know Python very well and I can’t read that code right. Would someone kindly post comments to facilitate reading? Preferably explaining what each line does. from random import shuffle,…
-
20
votes2
answers1978
viewsQ: How to use the Java scanner
I was doing an exercise for the university using the class Scanner and something unusual happened, watch the code. for(int i = 0; i < 11; i ++){ //problema(esta pulando a escolha de um dos…