Codehs 4.3.5 Rolling Dice Answers !exclusive! -
The expression die_one == die_two evaluates to either True or False . This is a Boolean value.
Ensure you are comparing numbers, not strings. In Python, use str() to concatenate a number with a string in a print statement . codehs 4.3.5 rolling dice answers
Here's a step-by-step explanation of how the code works: The expression die_one == die_two evaluates to either
Prints a Boolean statement (True or False) indicating whether the user rolled doubles. Step-by-Step Code Explanation not strings. In Python
Remember that a single = assigns a value to a variable, while == checks if two things are the same. Common Troubleshooting Tips