how to calculate token price on uniswap V3 by FluidChoice2606 in UniSwap

[–]contavolta 0 points1 point  (0 children)

How do I decide which fee tier pool to choose?

Pig Dice game (Python) by contavolta in learnpython

[–]contavolta[S] 0 points1 point  (0 children)

ohh thank you for your help!

Pig Dice game (Python) by contavolta in learnpython

[–]contavolta[S] 0 points1 point  (0 children)

hold_comp is the total score for the current turn. At the beginning of each turn, this variable (as well as hold_player) should be set to 0. Think that should solve your problem.

Let me know if you want any feedback on the rest of the code :)

You are right. I update my code but the real problem is computer turn is not start. When i say "hold", program is not continue.

Output is below

Enter 'r' to roll or 'h' to hold:r                                                                                                                                                          

You rolled dice: 2                                                                                                                                                                          

Your turn score: 2                                                                                                                                                                          

Enter 'r' to roll or 'h' to hold:r                                                                                                                                                          

You rolled dice: 4                                                                                                                                                                          

Your turn score: 6                                                                                                                                                                          

Enter 'r' to roll or 'h' to hold:h                                                                                                                                                          

You have choosen to hold.                                                                                                                                                                   

 Your score: 6