Jim 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 is incremented, wrapping around to 1 if its value was 6.
Complete the given function solve 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.
pyhton
Answers
Answered by
2
Answer:
is it maths
Explanation:
i don't understand
and i can't explain
sorry
Similar questions