Skip to content

Conversation

redfrexx
Copy link
Contributor

@redfrexx redfrexx commented Aug 4, 2021

No description provided.

@hettner hettner self-requested a review August 4, 2021 06:25
Comment on lines 12 to +14
import matplotlib.pyplot as plt
import random
from randomwalk import Walker
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the imports. Some are duplicated.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok thanks! Will fix it.

"""
last_x = self.x_coords[-1]
last_y = self.y_coords[-1]
new_x, new_y = self.nextStep(last_x, last_y)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please stick to PEP8 and make the method snake_case (self.next_step)

import random


class Walker:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool class! :)

Copy link
Collaborator

@hettner hettner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, but there are some changes needed.

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.

2 participants