Skip to content

Update 04_While_Loops.md#25

Open
amirmaroufian wants to merge 1 commit into
vesavvo:mainfrom
amirmaroufian:patch-2
Open

Update 04_While_Loops.md#25
amirmaroufian wants to merge 1 commit into
vesavvo:mainfrom
amirmaroufian:patch-2

Conversation

@amirmaroufian

Copy link
Copy Markdown

The original code had an indentation issue where the 'rolls' counter was not properly incremented inside the dice rolling loop.

This caused the program to not track the number of rolls correctly.

The indentation has been fixed, ensuring the 'rolls' counter is incremented each time the dice are rolled, so the total number of rolls per round is correctly calculated.

The original code had an indentation issue where the 'rolls' counter was not properly incremented inside the dice rolling loop.

This caused the program to not track the number of rolls correctly.

The indentation has been fixed, ensuring the 'rolls' counter is incremented each time the dice are rolled,
so the total number of rolls per round is correctly calculated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant