Skip to content

Instantly share code, notes, and snippets.

@rajmayank
Last active June 10, 2021 01:58
Show Gist options
  • Save rajmayank/51aef6c9d3f761965d35e346f0259bc4 to your computer and use it in GitHub Desktop.
Save rajmayank/51aef6c9d3f761965d35e346f0259bc4 to your computer and use it in GitHub Desktop.
Python-Generators-Anitopatterns-II
Counter: 1; GoalMultiplier: 5; Expected: 5; Actual: 5
Counter: 2; GoalMultiplier: 5; Expected: 10; Actual: 10
Counter: 3; GoalMultiplier: 5; Expected: 15; Actual: 15
Counter: 4; GoalMultiplier: 5; Expected: 20; Actual: 20
Counter: 5; GoalMultiplier: 5; Expected: 25; Actual: 25
Counter: 6; GoalMultiplier: 10; Expected: 30; Actual: 60
Counter: 7; GoalMultiplier: 10; Expected: 35; Actual: 70
Counter: 8; GoalMultiplier: 10; Expected: 40; Actual: 80
Counter: 9; GoalMultiplier: 10; Expected: 45; Actual: 90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment