Posts by nandapand4 • 11 points
3 posts
-
1
votes1
answer262
viewsA: I need help creating a game like 21
All right? Your game is GREAT! Congratulations! The logic I used was to create a variable to receive all the values total: #21 the game import random baralho = [1,2,3,4,5,6,7,8,9,10,10,10]…
-
0
votes3
answers182
viewsA: Bug when trying to use Pysimplegui
I’m advanced in the Tkinter library, a library similar to pysimpleGUI. When I spin your code only this part works super well... Congratulations! def iniciar(self): random = randint(0, 1) pergunta =…
-
0
votes1
answer50
viewsA: How to break this code if return is two equal numbers
import numpy as np print("Cidade disponíveis:1,2,3,4,5,6,7") tp = np.array([[],[0,0,2,11,6,15,11,1],[0,2,0,7,12,4,2,15],[0,11,7,0,11,8,3,13],[0,6,12,11,0,10,2,1],…