Posts by Daniel Alves de Barros • 21 points
3 posts
-
0
votes1
answer60
viewsQ: Python3: Error in function that has dictionary
I have this code giving error in the assignment of the variable M, of the dictionary. Returning the next: NameError: name 'm' is not defined I’m a beginner in this kind of subject. The object of it…
pythonasked Daniel Alves de Barros 21 -
0
votes0
answers86
viewsQ: Is there another way to access the index of a Python list?
I want to know: There is another way to access the index in question, where I am using in print()? Guarded in 'dice' the respective values, but because they are decimal, I’m having difficulty…
pythonasked Daniel Alves de Barros 21 -
-1
votes1
answer31
viewsQ: Python3 - How to stop asking for a certain number?
I know that for the present code it is necessary to use a repeating structure, and it can be while one of these. But I couldn’t link such a command to my code. In order to facilitate understanding,…