Posts by Lucas Becker • 21 points
2 posts
-
1
votes0
answers50
viewsQ: Problem saving number of items read in variable
The code has the idea of only reading how many times the highest array value repeats. num_velas = int(input('Número de velas: ')) alturaVelas = [] alturaVelas = input('Qual a altura das…
-
1
votes1
answer37
viewsQ: Definitions and their use in classes
When I create a "def" from what I understand is different from __init__ right? If I create an object in the __init__ it is possible to access it from other def's? In some codes I noticed they use…