Posts by Akinhiê Urukin • 13 points
2 posts
-
0
votes1
answer82
viewsA: Print prime numbers in range 0-N
Good morning dear friend. From what I understand, you can use a for along with a range for that reason: max = int(input('Digite um número: ')) for número_atual in range(max): print("É primo" if…
pythonanswered Akinhiê Urukin 13 -
1
votes1
answer53
viewsQ: How to access mother class fields through inheritance?
Simplifying what I mean, suppose I have a Mother class: public class Mãe { private String nome; // Declarando o campo privado nome public Mãe(String _nome) { nome = _nome; // Definindo o campo nome…