Computer Science, asked by gsivaanandini, 7 months ago

Mr. Jack is now playing some dice games. In this game, 2 dice are rolled. The score is calculated by summing the value on the 2 dice. However, when playing in special mode, if the number on both dice are equal, then one value if incremented, wrapping around to 1 if its value was 6. Write a method Met to calculate the score. The parameters are 2 integers and 1 boolean. Each integer has the value of one of the dice. The boolean is true if the special mode is being played, otherwise it is false. You have to print the score depending on the values. Example Input: 4 3 false Output: 7 Example Input: 4 4 false Output: 8 Example Input 6 6 true Output 7 can any one answer my question in python

Answers

Answered by OmkarDharmadhikari
0

Answer:

mtjtjf jhkgt gjgjg gjgj

Answered by amardevbadola559
0

Answer:

ghhjjj

Explanation:

  1. yghbjiooolkjj
Similar questions