Posts by XiruXin • 31 points
3 posts
-
0
votes1
answer356
viewsQ: Object movement
I would be creating a game for a college job, but I’m having some difficulties, among them, one in which I can’t get the character to move up or down, just sideways, accusing me of this mistake:…
-
2
votes2
answers284
viewsQ: How to calculate division using subtraction operation only?
I’m trying to put a command line that does division from subtraction into a dictionary but would be causing error, would know where I’m going wrong? x = float(x) y = float(y) num = 0 if y != 0: if…
-
-1
votes2
answers1378
viewsQ: How to calculate potentiation only using the sum operation?
I would have made a code that does multiplication from the sum, but I would like to know how I can make power by the sum, without using times(*). x = (input('Digite um número: ')) y = (input('Digite…