Posts by Victor Senna • 21 points
2 posts
-
1
votes1
answer131
viewsA: Python Kick Game. Does anyone have any hints how to reduce or improve this code without using functions?
I managed to make that solution: from random import randint computador = randint(0, 10) tent = 0 jogador = int(input('Tente adivinhar o número que o computador escolheu (entre 0 a 10): ')) tent += 1…
-
1
votes2
answers62
viewsA: How to use print for special Python characters?
Try using Unicode table codes to print this or any other special character: print('\u005C') You can check the Unicode tables of various special characters here:…