Skip to content

Tim - clean rewardsPointsSystem.py#1

Open
wangztim wants to merge 7 commits intocodebase-berkeley:masterfrom
jodielu:tim_and_nikhil
Open

Tim - clean rewardsPointsSystem.py#1
wangztim wants to merge 7 commits intocodebase-berkeley:masterfrom
jodielu:tim_and_nikhil

Conversation

@wangztim
Copy link

@wangztim wangztim commented Oct 2, 2020

Description of changes:

  1. Removed duplicate code and moved if condition into loop
  2. Changed purchased item getter function name and functionality to default get
  3. Added default value to reward points used
  4. Renamed variables to be more readable

Which files were touched:
rewardsPointsSystem.py - edited

Relevant Issue: #1

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

Comments