Python3 Ex41 OOP Test

using “Learn Python the Hard Way”
There is a bug in the code:
.
.
.
for i in range(0, snippet.count(’@@@")):
param_count = random.randint(1,3)
param_names.append(’, '.join(random.sample(WORDS, param_count)))

Warning: Unused variable i

Not really a bug, it’s just not used and is only there to get a loop to count. Try out removing it and see what happens.